add .htaccess in tracking files

This commit is contained in:
Manuel Raynaud
2013-09-17 16:02:44 +02:00
parent 8122dc3084
commit 640c0fbde8
2 changed files with 13 additions and 2 deletions

1
.gitignore vendored
View File

@@ -19,7 +19,6 @@ local/media/documents/*
local/media/images/*
web/assets/*
web/cache/*
web/.htaccess
phpdoc*.log
php-cs
xhprof/

12
web/.htaccess Normal file
View File

@@ -0,0 +1,12 @@
Options +FollowSymlinks -Indexes
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>