the_oliver Posted November 23, 2010 Share Posted November 23, 2010 Hello, I would like to be able to use the following to secure a 777 file a little: <FilesMatch "\.(inc|php)$"> deny from all </FilesMatch> <FilesMatch "\.(inc|htm)$"> deny from all </FilesMatch> <FilesMatch "\.(inc|html)$"> deny from all </FilesMatch> I don't want to have to put the .htaccess file in the 777 folder as it would defeat the purpose a little. How would i go about changing the FileMatch pattern to be acting on a different directory? Thank you! Link to comment https://forums.phpfreaks.com/topic/219587-htaccess/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.