Forum Discussion
Puli
Nimbostratus
Aug 17, 2010re-direct a URL but maintain the same URL in browser
i have a requirement as below.
From URL : http://serverA.com/eng/test.hml
This need to be re-directed or re-written to
To : http://serverA.com/global/eng/test.html ...
The_Bhattman
Nimbostratus
Aug 23, 2010Hi Puli,
If you have a lot of URLs then I suppose you might have to use the Class objects.
If you want to simply strip out global in the URI then I suppose you can use a string map which would search and replace "/global/" with "/"
when HTTP_REQUEST {
HTTP::uri [string map {/global/ / } [HTTP::uri]]
}
I hope this helps
Bhattman
Here is an forumn post that talks about it
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