rewrite base for apache
This commit is contained in:
parent
475b536cc3
commit
dbdd27aa55
1 changed files with 1 additions and 1 deletions
|
@ -1,12 +1,12 @@
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteBase /
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
||||||
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
||||||
RewriteCond %{REQUEST_FILENAME} -d
|
RewriteCond %{REQUEST_FILENAME} -d
|
||||||
RewriteRule ^.*$ - [NC,L]
|
RewriteRule ^.*$ - [NC,L]
|
||||||
|
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
|
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
|
||||||
RewriteRule ^(.*) - [E=BASE:%1]
|
RewriteRule ^(.*) - [E=BASE:%1]
|
||||||
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
|
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
|
||||||
|
|
Reference in a new issue