// 访问admin应用
http://serverName/index.php/admin
// 访问shop应用
http://serverName/index.php/shop
这样可以,我的就要加http://serverName/public/index.php/shop才可以访问,那怎么改可以用http://serverName/shop访问多应用,改了N遍了了。URL重写官方的 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]在我这里不行。改 RewriteRule ^(.*)$ index.php? [L,E=PATH_INFO:$1]才可以,我好郁闷啊,这个怎么回事,有人知道吗,手册都无法帮助了
最佳答案