Add htaccess
This commit is contained in:
parent
698284bd0b
commit
f5babfe119
11
packages/.htaccess
Normal file
11
packages/.htaccess
Normal file
|
@ -0,0 +1,11 @@
|
|||
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]
|
||||
|
||||
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)index\.php($|\ |\?)
|
||||
RewriteRule ^ /%1 [R=301,L]
|
Loading…
Reference in a new issue