Forum Discussion
Puli
Nimbostratus
Sep 21, 2010remove a string in response URL
Hi,
wanted to get your opinion on if this is possible.
Am trying to strip out a string from the URL.
If a user enters www.foo.com/testing/foo.html in the browser
I need to remove the string /testing and display www.foo.com/foo.html in the browser.
I dumped the HTTP headers but it doesn't the location in the header.
Also tried STREAM approach, but no lock.
Appreciate any ideas.
thanks,
Venu.
- Hamish
Cirrocumulus
Sounds like you just want a simple iRule to gather the URI and do an HTTP::redirect...if { [HTTP::uri] equals "/testing/foo.html"} { HTTP::redirect "/foo.html" }
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