Forum Discussion
hooleylist
Jan 09, 2007Cirrostratus
Hello,
If you want to have the BIG-IP send a 302 redirect when a client makes a request to http://domain/contactus.aspx to https, you can use a rule like this on the HTTP virtual server:
when HTTP_REQUEST {
if { [HTTP::uri] == "/contactus.aspx" }{
HTTP::redirect "https://[HTTP::host]/contactus.aspx"
}
}
[HTTP::host] will be resolved to the host header value in the client's request. All other requests not made to /contactus.aspx will be unaffected.
Aaron