Forum Discussion
Brett__01_13258
Nimbostratus
Oct 14, 2013irule redirect and masking
Hi Im having trouble with an irule I hope you can help.
Im trying to have request that goes to host with /external* redirects to another site but the rul is masked with original request
A ...
Brett__01_13258
Nimbostratus
Oct 14, 2013OK redirection is working fine now just need to keep the original URL. any thoughts would be appreciated? thanks
when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] starts_with "/extranet"}{
set new_uri [string map {"/extranet" ""} [HTTP::uri]] HTTP::redirect "http://extranet.site.com.au$new_uri" } }
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