Forum Discussion
phildoyle
Nimbostratus
Jun 11, 2015redirect http/https to new destination port
folks
I'm running an ltm 11.4.1
I want to take a url
http://mysite.com/path1
and redirect it to
http://mysite.com:7777/path1
I also want to change
https://mysite.co...
arpydays
Nimbostratus
Jun 11, 2015Hi, Do you want to redirect the client to another VS listening on another port or do you want to forward traffic from your port 80/443 VSs to your server pool which is listening on the new ports? If it's the first option then irules below would be a good starting point;
when HTTP_REQUEST {
HTTP::redirect "http://[HTTP::host]:7777[HTTP::uri]"
}
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host]:4443[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