Forum Discussion
Joe_Pipitone
Nimbostratus
Jun 18, 2009Simple redirect with query not working
I am trying to put a simple redirect in place that simply appends a subdomain if the URI is specific, basically I want to say if the URI is:
http://ourdomain.com/the/learningcenters/center/...
hwidjaja_37598
Altostratus
Jun 18, 2009Try this:
when HTTP_REQUEST {
if { "[HTTP::host][HTTP::path]" equals "ourdomain.com/the/learningcenters/center/" } {
HTTP::redirect "http://legacy.[HTTP::host][HTTP::uri]"
}
}
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