add RewriteBase to .htaccess files

This commit is contained in:
coderkun 2015-04-25 14:10:03 +02:00
parent a4487a1028
commit 003bab0890
2 changed files with 2 additions and 0 deletions

View file

@ -39,5 +39,6 @@ ErrorDocument 500 /www/error500.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ www/$1 [L]
</IfModule>

View file

@ -1,6 +1,7 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L,NE]