Forum Discussion
Thomas_McLean_1
Nimbostratus
Nov 25, 2014iRule URI redirect
Hi all,
This has probably been asked 100 times but I can't find anything definitive.
I've had a request from one of our service groups that require us masking the URI of a URL. So basicall...
Hannes_Rapp
Nimbostratus
Nov 26, 2014The iRule below will send incoming user request of "www.abc.com" to "www.abc.com/Connect/Service.main" in the back-end server. User will only see the www.abc.com in the web-browser location bar.
Please note that by using this approach you can only map a single hidden URI to an exact location of "www.abc.com".
when HTTP_REQUEST {
if { (([HTTP::host] == "www.abc.com") && ([HTTP::uri] == "/" )) }{
HTTP::uri "/Connect/Service.main"
}
}
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