Jump to content


This topic is now archived and is closed to further replies.


apache LocationMatch

Recommended Posts



I\'m trying to secure a admin directory /cgi-bin/*/admin/* to ip\'s from the 172.16 ip range using LocationMatch but am having difficulty in implementing it.


<LocationMatch \"/cgi-bin/*/admin/*\">

SetHandler server-status

Order deny,allow

Deny from all

Allow from 172.16



Do I need the .htaccess file for this to work or what? Clueless here :cry:




Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.