Forum Discussion
Sean_Phillips_1
Nimbostratus
May 17, 2007Routing specific pages through port 443??
I am trying to route all login pages through port 443 but everything else through port 80. Will this work?
when HTTP_REQUEST {
if { ([HTTP::uri] contains "Login.asp") or ([HTTP::uri] contains "Login.jsp") }{
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
else
{
HTTP::redirect http://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
}
Txs
1 Reply
No RepliesBe the first to reply
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