Jump to content


Photo

apache LocationMatch


  • Please log in to reply
No replies to this topic

#1 hydrobum

hydrobum
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 10 February 2003 - 09:49 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users