Add .htaccess
This commit is contained in:
parent
12d6cce5d1
commit
33ddfeebbb
2 changed files with 9 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
||||||
vendor
|
vendor
|
||||||
composer.lock
|
composer.lock
|
||||||
.htaccess
|
|
||||||
cache/db.sqlite
|
cache/db.sqlite
|
||||||
config/*
|
config/*
|
||||||
!config/_default.php
|
!config/_default.php
|
||||||
|
|
9
www/.htaccess
Normal file
9
www/.htaccess
Normal 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>
|
Loading…
Reference in a new issue