- 积分
- 8
- 威望
-
- 金钱
-
- 注册时间
- 2011-3-14
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
?p=1 访问正常,用伪静态路径访问就404出错。。为什么啊?
/%category%/archives/%post_id%
已经启动伪静态了
server
{
listen 80;
server_name XXXXsm.com;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/XXXXsm.com;
include wordpress,discuz,typecho,sablog,dabr.conf;
location ~ .*\.(php|php5)?$
{
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log off;
[ 本帖最后由 ioeice 于 2011-3-15 23:59 编辑 ] |
|