Forum Discussion
brent112_11716
May 02, 2012Nimbostratus
Rewrite a portion of URI
Is there an easy way to re-write only a portion of the URI? Say i want to turn this. http://sharepoint/Information Technology/Information Technology Internal/projects/11111/default.aspx ...
MiLK_MaN
May 02, 2012Nimbostratus
Hi,
If you want to simply rewrite the URI, you can do the following:
when HTTP_REQUEST {
if { [set path [findstr [HTTP::uri] "/Information Technology/Information Technology Internal" 56]] ne "" } {
HTTP::uri "/IT/ITI/$path"
}
}
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