Forum Discussion
wrightnz_34708
Nimbostratus
Jul 08, 2010ProxyPass
Hi - hope this is the right place to pose this question
Background:
We are using the ProxyPass irule v10.2 to setup URI shortcode/keyword redirects (rewrites?) e.g. www.123.com/checkthisout...
hoolio
Cirrostratus
Jul 22, 2010That looks exactly correct. If as in your original post, you want to check for multiple patterns that use the same action, you can group them using a -
when HTTP_REQUEST {
Set the path to lowercase
switch -glob [string tolower [HTTP::uri]] {
"*/tabid/737/*" -
"*/tabid/746/*" -
"*/tabid/786/*" {
HTTP::respond 301 Location "http://www.123.com/error404.aspx"
}
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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