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...
ucgwebmaster_95
Nimbostratus
17 years agoGood Morning,
I checked everything, but I am not getting any attempts for HTTPS. If I could get one page to work, I would be happy. I also noticed that you can not access myaccount.aspx, register.aspx, or checkout.aspx without logging in first.
when HTTP_REQUEST {
switch {[string tolower [HTTP::host][HTTP::path]]}{
"www.abc.com/login.aspx" {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
"www.abc.com/myaccount.aspx" {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
"www.abc.com/store/checkout.aspx" {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
"www.abc.com/register.aspx" {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
}
}
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