1
0
Fork 0

Added .htaccess files

merge-requests/2/head
Christiaan Goossens 7 years ago
parent 1c54254c74
commit 3d1e47bdf5

@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule ^$ /public [L]

@ -1,10 +1,4 @@
RewriteEngine On
# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]