【问题标题】:Server headers - 302 temporary redirect服务器标头 - 302 临时重定向
【发布时间】:2011-03-13 18:27:19
【问题描述】:

我刚刚检查了我网站的服务器标头,这就是我得到的:

1 Server Response: http://www.pjnsports.co.uk
HTTP/1.1 302 Moved Temporarily
Content-Length: 0
Location: /?6690d3e0

我没有设置任何 302 重定向 - 我假设这将是我的主机正在执行此操作。这是正常做法吗??它会对搜索结果、网站加载速度等产生负面影响吗?基本上我应该去找他们并告诉他们做点什么吗?

干杯

保罗

【问题讨论】:

  • “他们”是谁?您是否使用任何服务器端技术?由于服务器端框架可能会在用户禁用 cookie 以跟踪会话的情况下添加它
  • 他们是我的主人。服务器端技术是什么意思?

标签: linux apache http-headers


【解决方案1】:

我没有收到任何 302 / 301 访问该网站:

GET / HTTP/1.1
Host: www.pjnsports.co.uk
Connection: keep-alive
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=emr10g0gs9srtjccadb4k7t846; language=en; currency=GBP; __utmz=239376578.1300041169.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=239376578.1365490247.1300041169.1300041169.1300041169.1; __utmc=239376578; __utmb=239376578.1.10.1300041169

HTTP/1.1 200 OK
Date: Sun, 13 Mar 2011 18:33:41 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 6531
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

【讨论】:

  • 你使用什么网站来获取这些数据?
猜你喜欢
  • 2015-05-16
  • 1970-01-01
  • 1970-01-01
  • 2012-04-23
  • 2021-12-25
  • 2010-11-26
  • 1970-01-01
  • 2011-09-07
  • 1970-01-01
相关资源
最近更新 更多