linux - 服务器 header - 302 临时重定向

标签 linux apache http-headers

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

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

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

干杯

保罗

最佳答案

我没有收到任何前往该网站的 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

关于linux - 服务器 header - 302 临时重定向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5291429/

相关文章:

c# - Mono 3.0/Debian/asp.net - 找不到方法 : 'System. Configuration.IConfigurationSectionHandler.Create

regex - Linux grep 表达式停止匹配,直到找到一个 windows 回车符

PHP 脚本不在 HTML 表单 'Submission' 上执行

java - 将 Eclipse 项目工作区导入 Apache tomcat 文件夹

apache - 我们将不再支持 SSLv3,但我们希望将使用 SSLv3 的浏览器重定向到另一个页面

ruby-on-rails - 如何在 Rails 中添加自定义 HTTP 响应 header ?

php - Apache 不适用于 HTTP_RANGE?

android - 在 init.rc 中测试属性是否未设置

linux - 如何在 Ubuntu 上停止 Node.js 并在不停止的情况下注销

ajax - 如何在氚中访问传入请求的 header ?