Blocking access to git/svn directories (repositories) using apache
Learn about restricting access to protected directories server wide
Learn about restricting access to protected directories server wide
This is going to be the very first post in the series, Apache hosting with vHosts and hardening the apache webserver for max security There are directories on your php projects where you don’t want exploiters to upload php script and in case somehow they manage to upload the php scripts, they should not be executed. You can place the following code to do exactly the same Blocking access to php on upload directories with ....