Forum Discussion
URI Replacement for every request
Need help on URI replacement. the below irule is only working for the initial request but not the other request after getting in to the application somehow.
when HTTP_REQUEST {
set http_uri [HTTP::uri]
set http_host [string tolower [HTTP::header "Host"]]
if { [HTTP::uri] matches_glob "/profile" } {
HTTP::uri [string map {/profile /account} [HTTP::path]]
SSL::disable serverside
pool ABCD
}
else {
Pool XYZ
}
}
- Shaun_Simmons
Employee
This DevCentral Article may help. it goes into detail to explain what you may be experiencing.
Single URL Explicit Redirect
https://devcentral.f5.com/s/articles/irule-recipe-1-single-url-explicit-redirect-21910
- Santhosh
Nimbostratus
@Shaun. I don't redirection actually I want to replace the URI and also referer.
Recent Discussions
Related Content
* 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