Forum Discussion
mike_125238
Nimbostratus
Jun 18, 2014how to configure an iRule redirect an incoming url on port 443 to a pool of servers using a different port and appending a destination path?
for example:
pool port-8080
192.168.100.30
192.168.100.31
the incoming url is https://test.com. There is a virtual server configured to receive this traffic on port 443 and use an ssl cert...
Jun 18, 2014
Should be no problem. Do you want to rewrite any uris that does not start with /website before passing it on to the pool?
Try this:
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { !($uri starts_with "/website/" } {
HTTP::uri "/website/"
}
}
/Patrik
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