spmenu-wiki/.htaccess

13 lines
299 B
ApacheConf

RewriteEngine On
RewriteCond %{THE_REQUEST} /index\.php/(.+)\sHTTP [NC]
RewriteCond %{THE_REQUEST} !-f
RewriteRule ^ /%1 [NE,L,R]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ /index.php/$1 [L]
<FilesMatch "config.php">
Deny from All
</FilesMatch>