Browse Source

on .svn and .git directories 404 error

tags/v1.5.6
Paweł Bukowski 7 years ago
parent
commit
f38dcc8ff7
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      htaccess.txt

+ 5
- 0
htaccess.txt View File

@@ -7,3 +7,8 @@ php_flag magic_quotes_gpc off

#if your server is running php as cgi/fastcgi you should set following directive instead of above php_value/flag
#SetEnv PHPRC /your/epesi/root/directory/php.ini

<IfModule mod_alias.c>
RedirectMatch 404 /\\.svn(/|$)
RedirectMatch 404 /\\.git(/|$)
</IfModule>

Loading…
Cancel
Save