Forum Discussion
MSZ_221163
Nimbostratus
Mar 18, 2017Allow Specific URL only
Domain:
I would like to allow the specific URL such as: /test/* Rest should be blocked for the above domain.
It means only: * are allowed other directories should be blocked.
1 Reply
- nathe
Cirrocumulus
An irule would work, something like:
when HTTP_REQUEST { if { ![string tolower [HTTP::uri]] starts_with "/test/" } { HTTP:: respond 404 noserver } }
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