I am trying to filter all backend url to one IP in the httpd.conf file using this code:
<Location /admin>
Order deny,allow
Deny from all
Allow from 100.x.xxx.xxx
</Location>
This one works fine. I can't find a way to do the same with /?q=admin.
<Location /?q=admin>
Order deny,allow
Deny from all
Allow from 100.x.xxx.xxx
</Location>
Do I need some regular expression with backslash to escape some of the characters?