deny access to the .git directory (.htaccess)
This commit is contained in:
@@ -62,3 +62,6 @@ RewriteRule ^(.*)rss$ index.php?p=rss [L]
|
|||||||
#E.g RewriteRule ^(.*)\.html $1.php
|
#E.g RewriteRule ^(.*)\.html $1.php
|
||||||
#reading code bytes (by id)
|
#reading code bytes (by id)
|
||||||
#RewriteRule ^(.*)code\-([0-9]+)$ index.php?p=read_code&id_code=$2 [L]
|
#RewriteRule ^(.*)code\-([0-9]+)$ index.php?p=read_code&id_code=$2 [L]
|
||||||
|
|
||||||
|
# Jul - deny access to the .git directory
|
||||||
|
RewriteRule \.git - [F,L]
|
||||||
|
|||||||
Reference in New Issue
Block a user