Forum Discussion
ramann_75062
Nimbostratus
Apr 22, 2009Regex for URI Path List
Hi@all,
i like to create two application security classes for a virtual server, the first one have a URI path like /cgi-bin and die second one should use the rest - expect cgi-bin.
my idea is to use a regex who matche everything which is not starting with /cgi-bin/
regex:
^(!/cgi-bin/)
But this doesn't work.
Any idea what is wrong with my expression?
thanks
Bjoern
- hoolio
Cirrostratus
Hi Bjoern, - Tom_Spector_50Historic F5 Accountif you have the class catching the /cgi-bin/ as the first class in the list, then anything not caught by it will be processed by the second class - no need to actually define a specific regexp for it.
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