spmenu-wiki/.htaccess

18 lines
420 B
ApacheConf
Raw Normal View History

2023-06-10 13:52:13 +02:00
RewriteEngine On
RewriteCond %{THE_REQUEST} /index\.php/(.+)\sHTTP [NC]
2023-06-10 15:05:23 +02:00
RewriteCond %{THE_REQUEST} !-f
2023-06-10 13:52:13 +02:00
RewriteRule ^ /%1 [NE,L,R]
2023-06-10 15:05:23 +02:00
2023-06-10 13:52:13 +02:00
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ /index.php/$1 [L]
2023-06-29 15:43:49 +02:00
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)index\.php($|\ |\?)
RewriteRule ^ /%1 [R=301,L]
<FilesMatch "config.php">
Deny from All
</FilesMatch>
2023-07-01 18:24:21 +02:00
ErrorDocument 404 404.php