CentOS 安装 StartBBS 出错和解决办法

# www.startbbstest.com
server {
listen 80;
server_name www.startbbstest.com;

location / {
root /home/wzw/workstation/www/startbbstest.com;
index index.php index.htm index.html;
autoindex on;
}

#location = /50x.html {
# root /home/wzw/workstation/www/startbbstest.com;
#}

location ~ \.php.*$ {
root /home/wzw/workstation/www/startbbstest.com;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;

if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?$1 last;
# rewrite “^/(.*)$” /index.php last;
# break;
}
}
}

http://my.oschina.net/wzwitblog/blog/167040

原文链接:https://www.hertzdance.com/blog/centos-startbbs-error,转载请注明出处。

0

评论0

请先
欢迎光临频率跳动资源网
显示验证码
没有账号?注册  忘记密码?