改了 还是可以
plugins.ixinzheng.net/one/manage/
server {
listen 80;
server_name local.newtuhaoyun.com;
root E:/web/tuhaoyun/05-code/server/;
charset utf-8;
access_logE:/nmp/nginx/logs/local.newtuhaoyun.com.access.log;
error_log E:/nmp/nginx/logs/local.newtuhaoyun.com.error.log;
location / {
index index.php index.html index.htm;
}
location ~ \.php($|/) {
fastcgi_pass 127.0.0.1:9000;
fastcgi_indexindex.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_paramPATH_INFO $fastcgi_path_info;
fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;
include fastcgi_params;
}
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
location ~ /\.ht {
denyall;
}
}
这是我的nginx配置,你的呢?
yadgen 发表于 2015-5-15 10:32
server {
listen 80;
server_name local.newtuhaoyun.com;
这个帮不了你了
只用过apache……
这个空间是网上租的,别人配置好的
一叶扁舟 发表于 2015-5-15 10:40
这个帮不了你了
只用过apache……
apache我很熟悉,nginx刚上手,谢谢,我再看看。
yadgen 发表于 2015-5-15 10:41
apache我很熟悉,nginx刚上手,谢谢,我再看看。
你看看是不是最后少正斜线原因
多记目录感觉这应该是最基本的服务器要支持的
一叶扁舟 发表于 2015-5-15 10:46
你看看是不是最后少正斜线原因
多记目录感觉这应该是最基本的服务器要支持的
...
我知道会支持,应该是我配置问题。
页:
1
[2]