14 lines
356 B
ApacheConf
14 lines
356 B
ApacheConf
|
<IfModule mod_rewrite.c>
|
||
|
RewriteEngine On
|
||
|
|
||
|
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
||
|
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
||
|
RewriteCond %{REQUEST_FILENAME} -d
|
||
|
RewriteRule ^.*$ - [NC,L]
|
||
|
|
||
|
|
||
|
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
|
||
|
RewriteRule ^(.*) - [E=BASE:%1]
|
||
|
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
|
||
|
</IfModule>
|