summaryrefslogtreecommitdiff
path: root/http/.htaccess
blob: 77ee9520d7f838c7ef4155d5c6d3a49f54ce58c2 (plain)
1
2
3
4
5
6
7
8
9
10
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*[^/])$ /$1/ [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1/ [L]