hydrobum Posted February 10, 2003 Share Posted February 10, 2003 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 Thanks! DC Quote Link to comment https://forums.phpfreaks.com/topic/141-apache-locationmatch/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.