11 lines
323 B
ApacheConf
11 lines
323 B
ApacheConf
DirectoryIndex index.php
|
|
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteCond %{ENV:REDIRECT_STATUS} =""
|
|
RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L]
|
|
RewriteCond %{REQUEST_URI} !=/server-status
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^ %{ENV:BASE}/index.php [L]
|
|
</IfModule>
|