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

3
.gitignore vendored
View File

@@ -19,10 +19,9 @@ local/media/documents/*
local/media/images/* local/media/images/*
web/assets/* web/assets/*
web/cache/* web/cache/*
web/.htaccess
phpdoc*.log phpdoc*.log
php-cs php-cs
xhprof/ xhprof/
phpunit.phar phpunit.phar
.DS_Store .DS_Store
phpmyadmin phpmyadmin

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>