natcha23/yii2basic/master/web/.htaccess
# [skeleton]/web/.htaccess
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?r=$1 [NC,L]
</IfModule>
# DirectoryIndex index.html index.htm index.php
# order allow,deny
# allow from all
# Options +FollowSymLinks
# Options +Indexes
# RewriteEngine On
# RewriteRule ^$ index.php?r=$1 [NC,L]
# RewriteRule ^$ index.php?page=home&menu=home [L]
On Github License
Files