Forum Discussion
Joshua_106551
Nimbostratus
Feb 25, 2011how do I append a simple URI
I am looking to take a simple url and add "/sc/pol" every time the request comes through.
Steve_Brown_882
Feb 25, 2011Historic F5 Account
Opps didn't see your second post...I would do this if you might have a query string that needs to stay.
when HTTP_REQUEST{
if {[HTTP::host] contains "test" }{
HTTP::path "[HTTP::path]/sc/pol"
}
}
or
when HTTP_REQUEST{
if {[HTTP::host] contains "test" }{
HTTP::uri "[HTTP::uri]/sc/pol"
}
}
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