Forum Discussion
Dave_22402
Nimbostratus
Mar 16, 2010irule based on ip and url
I am trying to construct an Irule that first checks for a url and then allows access based on IP.
Example -
if the url is "/foo/*" and IP = 123.123.123.123
then g...
hoolio
Cirrostratus
Mar 17, 2010Some of the URL obfuscation techniques only work on IIS. For example, this request does work on microsoft.com to make a request for /en/us/default.asp:
curl -v www.microsoft.com/doesnt_exist/../en/us/default.asp
Google's web server (apache-based?) does not normalize a request like this from /doesnt_exist/.. to /
curl -v www.google.co.uk/doesnt_exist/..
But you should be able to use percent encoding and other methods for Apache.
If the URI check doesn't match, then the IP won't be checked for the request as the two checks are being AND'd.
Aaron
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