Forum Discussion
ucgwebmaster_95
Nimbostratus
17 years agoUsing 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
17 years agoIf 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
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