mszhidkov/Yii2/master/web/.htaccess - Htaccess File

mszhidkov/Yii2/master/web/.htaccess

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...

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache