While i try to access the .htaccess file its saying access forbidden,which is obvious. But the listing of all other files also getting displayed,i.e no restrictions are imposed on those files which are under the same directory as the .htaccess. However i want to restrict everyone but myself from those files too. Here is my httpd.config inside directory of httpd.config Options Indexes FollowSymLinks Includes ExecCGI AllowOverride ALL Require all granted <pre lang="xml"> <Files ".ht*"> Require all denied </Files>
# deny everyone but myself <Limit GET POST PUT> Options -Indexes Order allow,deny Deny from all </Limit>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)