Forum Discussion
Irule to block all URL that contains # in the urls
Hi Guys, I am using SOLR 4.10 and want to block all incoming request that has in the URL. http://abc.com/solr/data/select?q="test"; should be OK but i want to block all other URL that contains an like
This I rule is not working, can some on point me what is wrong
when HTTP_REQUEST { if { [HTTP::uri] contains "" } { HTTP::respond 403 content "Please contact the administrator.Access Denied" } }
- Stanislas_Piro2
Cumulonimbus
Hi,
Hash character in an url is never sent by the browser to the server. It’s a fragment identifier used locally by the browser to move th window to a label inside the document!
So if you check this url from a browser, you won’t see it blocked!
Recent Discussions
Related Content
* 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