Forum Discussion
Stephane_87808
Nimbostratus
14 years agoRestriction on IP source AND uri dest
Hello
I need to limit the access to some specific uri containing /wps/wcm/.*connect/iww_. to 10.0.0.0/8 ip range : except this specif web pages on Pool_WCM_Rendering_HTTP, al...
MarketCrash_746
Nimbostratus
14 years agoStephane,
I am not positive this is what you want, but this iRule should look for the extra wcm.bureauveritas.com, your regular expression, and the internal IP address range. If all are true, then it will apply the rendering pool. Elsewise, if it sees wcm.bureaveritas.com and nothing else it will send it down the other pool.
when HTTP_REQUEST {
if {[HTTP::host] equals "wcm.bureauveritas.com"} {
[IP::client_addr] 10.0.0.0/8 ] AND [HTTP::uri] contains "/wps/wcm/.*connect/iww_.*" } {
pool Pool_WCM_Rendering_HTTP
} else {
pool Pool_WCM_Authoring_HTTP
}
}
Thanks,
-Andrew
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