Forum Discussion
Joe_Pipitone
Jan 26, 2011Nimbostratus
Stripping part of URI and integrating with iRule
I have to perform the following: http://www.oursite.org/directory1/directory2/somepage.aspx needs to rewrite to http://oursite.org/somepage.aspx - essentially just stripping out directory1 and dir...
Chris_Miller
Jan 26, 2011Altostratus
[HTTP::uri] is a cached item. Even though you've changed it with your string map statement, calling it from the redirect statement won't work because it's value is going to contain /directory1/directory2/.
Using HTTP::uri rewrites the URI between LTM and the pool member. Is that what you're trying to do or are you simply trying to send the user a redirect?
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