Forum Discussion

Geoff_34657's avatar
Geoff_34657
Icon for Nimbostratus rankNimbostratus
Feb 09, 2011

HTTPS to HTTP

Hello,

 

I am trying to redirect a HTTPS request to a HTTP server. We have been using the following Irule to redirect users from HTTP to HTTPS for awhile but, a new system going in place people occaisionally type the https:// instead of http://. We have setup 2 virtual servers one for port 80 and one for port 443. I need the 443 to redirect to the 80. I have been searching the forums but, I can't seem to find a reference to someone trying to accomplish this. Any help would be greatly appreciated.

 

 

 

 

80 to 443 irule we have in place.

 

 

when HTTP_REQUEST {

 

Redirects all HTTP to HTTPS keeps URI intact

 

HTTP::redirect ]

 

}

2 Replies

  • The rule would be exactly the same, just with "HTTP::redirect http://[HTTP::host][HTTP::uri]" instead. Of course, you'll need a client ssl profile on your HTTPS VIP so you can view the request and send the redirect.