Forum Discussion
Danielseyoum
Altostratus
May 14, 2007Redirecting from non standard port to https
I have a Virtual Server listening on port 55000 that I want to redirect to https:
Neither rules produced the intended result:
1.
rule redirect {
when HTTP_REQUEST {
HTT...
Kenny_Van_73892
Nimbostratus
May 14, 2007Try this
when HTTP_REQUEST {
if {[TCP::server_port] == 55000} {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
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
