Add .htaccess

This commit is contained in:
Ruben 2016-09-01 11:31:02 +01:00
parent 12d6cce5d1
commit 33ddfeebbb
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
vendor
composer.lock
.htaccess
cache/db.sqlite
config/*
!config/_default.php

9
www/.htaccess Normal file
View file

@ -0,0 +1,9 @@
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
#RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</IfModule>