andr-ik/yii2-demo-news-site/master/www/.htaccess
AddDefaultCharset UTF-8
php_value display_errors 1
php_value display_startup_errors 1
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
Files
