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 Link to comment https://forums.phpfreaks.com/topic/141-apache-locationmatch/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.