Forum Discussion
SSHSSH_97332
Nimbostratus
Aug 06, 2014HTTP Rewrite
i need to rewrite ( without redirect ) any HTTP request :
http://10.10.10.1:8080
To
http://10.10.10.1:8080/XYZ/ABC
Aug 08, 2014
Assuming that your virtual server has 10.10.10.1 as IP you might be able to try something like this?
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if{$uri eq "/"} {
HTTP::uri "/XYZ/ABC
}
}
/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