VPS侦探论坛

标题: LNMP没有配置过网站出现301 [打印本页]

作者: 5ilan.com    时间: 2012-2-2 23:47
标题: LNMP没有配置过网站出现301
不知道是什么问题网站出现301
我没有配置过啊 安装的DZ X2


  1. server
  2.         {
  3.                 listen       80;
  4.                 server_name 5ilan.com bbs.5ilan.com www.5ilan.com;
  5.                 index index.html index.htm index.php default.html default.htm default.php;
  6.                 root  /home/wwwroot/5ilan.com;

  7.                 include discuz.conf;
  8.                 location ~ .*\.(php|php5)?$
  9.                         {
  10.                                 fastcgi_pass  127.0.0.1:9000;
  11.                                 fastcgi_index index.php;
  12.                                 include fcgi.conf;
  13.                         }

  14.                 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  15.                         {
  16.                                 expires      30d;
  17.                         }

  18.                 location ~ .*\.(js|css)?$
  19.                         {
  20.                                 expires      12h;
  21.                         }

  22.                 access_log off;
  23.         }
复制代码


这个问题出现一个月了实在是解决不了!求大家帮助啊不知道的也可以帮我顶起啊
作者: licess    时间: 2012-2-3 09:17
据说dzx2 的都是301
作者: 5ilan.com    时间: 2012-2-3 11:04
测试了好几个都是200啊




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4