Options Indexes Includes XBitHack On AddType text/html .template AddOutputFilter INCLUDES .template # deny access to the toplevel .git directory RewriteEngine On RewriteRule \.git - [F,L]