如何在
的网址的.htaccess上编写路由要
父托管是www.abc.com,此域名也在.htaccess文件夹中托管
rewriteengine on IndexIgnore / RewriteBase / ReWriteCond %{HTTP_HOST} example.com ReWriteCond %{REQUEST_URI} !example/ ReWriteRule ^(.*)$ example/$1 [L] ReWriteCond %{HTTP_HOST} abc.com ReWriteCond %{REQUEST_URI} !abc/web/ ReWriteRule ^(.*)$ abc/web/$1 [L]
PS:www.abc.com也在使用Yii2