Forum Discussion
Fountain_55774
Nimbostratus
Sep 17, 2008Block parts of website
Hello All,
I am hoping this is simple but I have had no training
I am looking for a rule that allows access to
www.xyx.com/something only if the request comes from a valid subnet (ie: internal) and and redirected to www.xyz.com if the request comes from anywhere else.
I will keep ploughing through the examples.
Thanks All,
George
1 Reply
- Nicolas_Menant
Employee
Hi,when HTTP_REQUEST { if { (not([IP::addr "[IP::client_addr]/24" equals 10.10.10.0])) and ([HTTP::uri] starts_with "/something") } { HTTP::redirect "www.xyz.com" } }
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