Forum Discussion
aschi_6586
Nimbostratus
Oct 31, 2013Regular Expression
Hi
I just want that the following Path are valid and sent to the Pool, otherwise the "Forbidden" Message should appear.
/manorbon
/manorbon/
/manorbon/anything
I tested the regex "/manorbo...
IheartF5_45022
Nacreous
Nov 05, 2013So the simple answer is;
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/manorbon" -
"/manorbon/*" {
SSL::disable serverside
pool ACA-Pool_appl.com_http
}
default {
HTTP::respond 200 content "Forbidden"
return
}
}
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