location ~ ^/bbs/.+\.php$ { alias /home/www/esotalk/; rewrite /bbs/(.*\.php?) /$1 break; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/www/esotalk$fastcgi_script_name; include fastcgi_params; } location ~ ^/bbs($|/.*) { alias /home/www/esotalk/$1; index index.php index.html;
摆安装文件进去了,访问 /bbs 时,本应该跳转去 /bbs/?p=install/info 的,但是跳转成了 /?p=install/info ,
求解决方法,谢谢。