Htaccess File

mszhidkov/Yii2/master/web/.htaccess

REQUEST_FILENAME
AddType text/x-component .htc

Order Deny,Allow
#deny from all
allow from all

 # use mod_rewrite for pretty URL support
    RewriteEngine on
    # If a directory or a file exists, use the request directly
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    # Otherwise forward the request to index.php
    RewriteRule . index.php

    # ...other settings...
Exit mobile version