1
0

Added .htaccess files

This commit is contained in:
Christiaan Goossens 2017-03-15 13:44:32 +01:00
parent 1c54254c74
commit 3d1e47bdf5
2 changed files with 5 additions and 9 deletions

2
.htaccess Normal file
View File

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

View File

@ -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]