aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 65578e235..b6d4eecc3 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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