diff options
-rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,8 +9,8 @@ Deny from all <IfModule mod_rewrite.c> RewriteEngine on - # Protect dot directories from browsing, e.g. ".git" - RewriteRule "(^|/)\." - [F] + # Protect repo directory from browsing + RewriteRule "(^|/)\.git" - [F] # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f |