Forum Discussion
Colin_Walker_12
Aug 17, 2006Historic F5 Account
If all you're trying to do is check to be sure that the incoming request isn't from 10.0.0.1, you could use something like:
when HTTP_REQUEST {
if { not ( [IP::client_addr] eq "10.0.0.1" ) } {
log local0. "Redirection to HTTPS!"
HTTP::redirect "HTTPS://testcase.college.edu/test/"
}
}
Colin