Forum Discussion
Alanwat_138254
Nimbostratus
Mar 07, 2014URI rewrite
All,
I am setting up a virtual server for an internal group. They want to be able to go to an address like "http://assetsuite:9080" and be sent to "http://assetsuire:9080/PROD/Domain" The VIP ...
Mar 07, 2014
Hi!
The rule you have would make ie an uri that's "/PROD/domain/mypage.aspx trigger on the if condition.
If you want to make sure all uris starts with /PROD/domain/ you could try this one:
when HTTP_REQUEST {
if { not ([HTTP::uri] starts_with "/PROD/domain") } {
HTTP::uri /PROD/domain[HTTP::uri]
}
}
This would rewrite /myuri to /PROD/domain/myuri.
Good luck!
/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