Forum Discussion
Stephane_87808
Nimbostratus
Mar 12, 2012Restriction 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
Mar 12, 2012Stephane,
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
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
