Htaccess File

AnTAVR/yii2-app-advanced-ru/my/web/admin/.htaccess

HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI
DirectoryIndex index.php
AddDefaultCharset utf-8
AddType 'text/html; charset=utf-8' .html .htm .shtml
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RedirectMatch 403 /..*$
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
</IfModule>
#php_value post_max_size "50M"
#php_value upload_max_filesize "50M"
Exit mobile version