listen 80;
server_name www.tk-dev.com;
root D:\thinkphp;
charset utf-8;
error_log logs/erro-for-rewriter-8077.log notice;
rewrite_log on;
location / {
index index.php index.html;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
}
error_page 404 /index.php;
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico)$ {
access_log off;
expires 30d;
break;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
root D:\thinkphp;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param sc
include fastcgi_params;
}
}
}
配置如上,却报o input file specified. 错误,看不懂了。
'URL_MODEL' => 2, 这个也改了。
thinkphp3.2.2版本,php5.3以上,请各位看看如何解决,谢谢了
最佳答案