[f-nsp] browser type predictor?
Jared Valentine
hidden at xmission.com
Tue Jan 11 14:12:15 EST 2011
Yep, it's possible. Here's one that I've done where they wanted CHROME/8
users coming in on HTTP to be redirected to a different IP address & URL
(still on HTTP) while everyone else got redirected to HTTPS (same IP address
& same URL):
Config was on a ServerIron ADX using v12.1... I'm pretty sure that 10.2.01
on a ServerIron 4G could do the same thing with the same config. Read the
docs about content switching for more information about what your options
are for a.) matching, and b.) redirecting traffic.
csw-rule "a1" header "USER-AGENT" search "CHROME/8" case-insensitive
!
csw-policy "sslredirect" case-insensitive
match "a1" redirect "10.1.1.100" "/"
default redirect "*" "*" ssl
!
server real rs1 10.1.1.121
source-nat
port http
port http no-health-check
port http keepalive
port http url "HEAD /"
!
server real rs2 10.1.1.122
source-nat
port http
port http no-health-check
port http keepalive
port http url "HEAD /"
!
server real rs3 10.1.1.254
port http
port http keepalive
port http url "HEAD /"
!
!
server virtual vs1 10.1.1.111
port ssl sticky
port ssl ssl-terminate sslprofile
port http
port http csw-policy "sslredirect"
port http csw
bind ssl rs1 http rs2 http
bind http rs3 http
Jared Valentine
hidden at xmission.com
-----Original Message-----
From: foundry-nsp-bounces at puck.nether.net
[mailto:foundry-nsp-bounces at puck.nether.net] On Behalf Of David Miller
Sent: Tuesday, January 11, 2011 11:31 AM
To: foundry-nsp at puck.nether.net
Subject: [f-nsp] browser type predictor?
Is there a simple way to send all requests made by a specific
browser-type, say 'googlebot', to a different set of hosts than
everything else?
ServerIron 4GL, 10.2.01oTI4
Thanks,
--- David
_______________________________________________
foundry-nsp mailing list
foundry-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/foundry-nsp
More information about the foundry-nsp
mailing list