Baron-fon-Kolt/yii2_black/master/web/.htaccess
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
<ifModule mod_headers.c>
<FilesMatch ".(png|js|css)$">
Header set Cache-Control "max-age=3600"
</FilesMatch>
</ifModule>
Files
