AvantimeGroup / UbuntuServerSetup

Some utils script to set up an LAMP server on ubuntu
0 stars 0 forks source link

Need to close git folder from browser view #10

Open lilumi opened 9 years ago

lilumi commented 9 years ago

For this, need to edit /etc/apache2/apache2.conf

with this directive:

<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>

and restart apache: sudo service apache2 restart