projects
/
website
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74b34e
)
2nd attempt at denying .git directory
author
Steve Youngs
<steve@sxemacs.org>
Fri, 5 Nov 2010 02:10:40 +0000
(12:10 +1000)
committer
Steve Youngs
<steve@sxemacs.org>
Fri, 5 Nov 2010 02:10:40 +0000
(12:10 +1000)
Signed-off-by: Steve Youngs <steve@sxemacs.org>
.htaccess
patch
|
blob
|
history
diff --git
a/.htaccess
b/.htaccess
index
3d3a1b9
..
e0a8020
100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-4,5
+4,7
@@
AddType text/html .template
AddOutputFilter INCLUDES .template
# deny access to the toplevel .git directory
-RewriteEngine On
-RewriteRule \.git - [F,L]
+<Directory .git>
+ Order Deny,Allow
+ Deny from All
+</Directory>