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...
Kevin_Stewart
Employee
Oct 31, 2013Maybe something simpler will do?
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] equals "/manorbon" ) or ( [string tolower [HTTP::uri]] starts_with "/manorbon/" ) } {
SSL::disable serverside
pool ACA-Pool_app1.com_http
} else {
HTTP::respond 200 content "Forbidden"
}
}
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