Tomcat 4.x的Bug:302 redirect 问题
本站seo方面最大的问题终于找到了,原来是Tomcat的bug!
由于seo努力一再失败,我被迫更加仔细地分析访问日志,发现怎么由这么严重的302问题呀?
所有的搜索引擎访问本站的时候,它们要http://www.zhuoda.org/,本来JBoss 3.23(其Web 服务器用的是Tomcat 4.1.29),应该返回index.html就完事了,可是,Tomcat却先给搜索引擎返回302 Move Temporarily 的错误码,给搜索引擎一个明确但非常错误的信号:你要的东西,临时移走了。
虽然接下来,你能够得到index.html,但这只是“临时的”!
既然时临时的,搜索引擎当然没有兴趣多收录了。
一个英文说明:
Tomcat 302 redirect issue -- fixed in version 5?
Erica S. Kane
Thu, 20 Jan 2005 20:10:30 -0800
I see this question comes up once a year, but the last post was in 2003 so I
am hoping there is now a fix available:
When accessing a directory, Tomcat 4.1 shows the welcome file using a 302
redirect instead of forwarding, as it should. This causes problems for
search engine indexing. Would version 5 fix this issue? Or do I need to
install Apache?
原文
我大约在一个月以前发现了这个问题,也意识到它的严重性,并试图调整jboss的配置,来解决问题,从网络上也没有搜到有价值的问题。
知道今天,才算正式知道了问题的根源所在。
由于seo努力一再失败,我被迫更加仔细地分析访问日志,发现怎么由这么严重的302问题呀?
所有的搜索引擎访问本站的时候,它们要http://www.zhuoda.org/,本来JBoss 3.23(其Web 服务器用的是Tomcat 4.1.29),应该返回index.html就完事了,可是,Tomcat却先给搜索引擎返回302 Move Temporarily 的错误码,给搜索引擎一个明确但非常错误的信号:你要的东西,临时移走了。
虽然接下来,你能够得到index.html,但这只是“临时的”!
既然时临时的,搜索引擎当然没有兴趣多收录了。
一个英文说明:
Tomcat 302 redirect issue -- fixed in version 5?
Erica S. Kane
Thu, 20 Jan 2005 20:10:30 -0800
I see this question comes up once a year, but the last post was in 2003 so I
am hoping there is now a fix available:
When accessing a directory, Tomcat 4.1 shows the welcome file using a 302
redirect instead of forwarding, as it should. This causes problems for
search engine indexing. Would version 5 fix this issue? Or do I need to
install Apache?
原文
我大约在一个月以前发现了这个问题,也意识到它的严重性,并试图调整jboss的配置,来解决问题,从网络上也没有搜到有价值的问题。
知道今天,才算正式知道了问题的根源所在。
hofman
2005-04-16 02:19:44
评论:1
阅读:1302
引用:0
无题
@2005-04-16 08:20:06 coffee
恭喜呀,可真不容易。有时候小错误会带来大问题,幸好hofman采用了“多进程”工作程序。
