how can I map https traffic back to http?
The following irule only works for http
when HTTP_REQUEST {
if { [HTTP::host] equals “courses.host.edu” } {
HTTP::redirect “http://www.host.edu/academics/courses/myhls.php”
}
}
how can I map https traffic back to http?
The following irule only works for http
when HTTP_REQUEST {
if { [HTTP::host] equals “courses.host.edu” } {
HTTP::redirect “http://www.host.edu/academics/courses/myhls.php”
}
}
That would work for HTTPS if you are decrypting the HTTPS with a client SSL profile.
Aaron
I have applied the rule and the sslprofile to the vip but it still does not redirect back to http system
you need a client side ssl profile and I would suggest:
when HTTP_REQUEST {
if { [HTTP::host] equals “courses.host.edu” } {
HTTP::respond 301 “Location” “http://www.host.edu/academics/courses/myhls.php”
}
}
If you add a log statement do you see the rule being hit? What are the symptoms of the issue? What does the client get? You can get more detail by using a browser plugin like Fiddler for IE or HttpFox for FF.
Aaron