Jump to content

Archived

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

hydrobum

apache LocationMatch

Recommended Posts

Hi,

 

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

</LocationMatch>

 

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

 

Thanks!

DC

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.