Forum Discussion
ucgwebmaster_95
Nimbostratus
Jul 08, 2008Using Virtual Server for http to https for certain pages
I've tried many suggestions but to no avail. I have to Virtual servers. One on port 80 and one on port 443. I need to have traffic routed to the 443 virtual server for 4 aspx pages.
ex...
hoolio
Cirrostratus
Jul 08, 2008If the request you're making in the browser address bar is http://www.example.com/Login.aspx, then the switch case should be "www.example.com/login.aspx". Can you make sure that the switch case has the host and /login.aspx all in lower case? If it does, the request should be redirected.
"www.example.com/login.aspx" {
log local0. "[IP::client_addr]:[TCP::client_port]: matched login.aspx"
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
