Rough night« an older post
a newer one »Rally beagle!

Ignore .git directories in Apache DOCROOT

Put this in a VirtualHost config block to make sure git files aren't served by the Apache process:

<Directorymatch "^/.*/\.git/">
Deny from all
</Directorymatch>

Won't work in an .htaccess file.

tags: 

Add new comment