add .htaccess in tracking files
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
12
web/.htaccess
Normal 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>
|
||||||
Reference in New Issue
Block a user