php - .htaccess deny access to specific files? more than one -


I am able to disable access to a file with .htaccess, but I do not know how to reject multiple files

They are .php so that I can not disable a file type (i.e. only tutorial is called online ..)

  & lt; Files ...? & Lt; / Files & gt;  

Or something like "home.php, file.php, test.php" How do I deny permission to access all three files with that tag? Or similar, please help!

If you want to exclude files based on regular expressions, instead of filesMatch files, like :

  & lt; FilesMatch ^ ((home | test | file) .php $ | mysecretfolder | asecretpicture \ .jpe? G) $ & gt; ... & lt; / File match & gt;  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -