寻觅生命中的那一片浅草......

每日存档 十二月 27th, 2009

Nginx的403 Forbidden

我遇到的,多数是虚拟主机的域名错误引起的
今天遇到一特例,
直接访问www.example.com
报403 Forbidden
但www.example.com/index.php是正常的
是因为server_name www.example.com后少了个分号
正确的应该是
server_name www.example.com ;
奇怪nginx -t并不报错

Nginx的No input file specified错误

访问www.example.com/install.php
提示“No input file specified”
网上找到很多原因
但我遇到的不是那样
是因为include/hosts/vhost.conf行少了一个分号
正确的应该是
include/hosts/vhost.conf;

2009年十二月
« 11月   1月 »
 123456
78910111213
14151617181920
21222324252627
28293031