QiLiuXianSheng/yii2/master/yiiadv/.htaccess
#RewriteEngine on # For Backend #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{REQUEST_URI} ^/yiiadv/admin #RewriteRule ^admin(/.+)?$ /yiiadv/backend/web/$1 [L,PT] # For Frontend #RewriteCond %{REQUEST_URI} !index.php #RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ /yiiadv/frontend/web/$1