Forum Discussion
pkhatri_72515
Nimbostratus
Apr 02, 2010How permit part of the url access?
How to permit part of the url accessed by only few IP addresses using data group and part of the same url accessed by all?
for example
http://example.something.com/Part_one should be a...
The_Bhattman
Nimbostratus
Apr 03, 2010Hi PK,
I suppose you can write it up in the following manner
when HTTP_REQUEST {
if {!([matchclass [IP::client_address] eq $::datagroup]) and ([HTTP::uri] eq "/Part_one") } {
HTTP::redirect "http://[HTTP::host]/[HTTP::uri]/Part_all
}
}
I hope this helps
Bhattman
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
