diff --git a/.htaccess b/.htaccess index 192f3a4..aa6d489 100644 --- a/.htaccess +++ b/.htaccess @@ -1,11 +1,11 @@ RewriteEngine On - #May be required to access sub-directories + # May be required to access sub directories #RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1 [L,QSA] - RewriteRule ^(config|content|content-sample|lib|vendor)/.* - [R=404,L] + RewriteRule ^(.git|config|content|content-sample|lib|vendor)/.* index.php?404 [L] SetEnv PICO_URL_REWRITING 1