【发布时间】:2012-11-24 19:40:16
【问题描述】:
我在 apache 上有这个重写规则,并且可以完美地重定向到我想要在 ie 上但不是在 firefox 或 chrome 上的站点。我想知道为什么在这些浏览器上表现不同??!!
这是我的 apache 重写配置
RewriteEngine On
RewriteLog "/opt/apache/logs/rewrite.log"
RewriteLogLevel 1
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://server/index.php [L,R]
所以 apache 规则正确重定向到“https://server/index.php,但在 Firefox/chrome 上停止在“https://server”。我的 apache 重写配置是否有任何错误?
谢谢。
【问题讨论】:
-
浏览器没有重写规则。与 wireshark 核对正在发送的内容,并提供更多详细信息。
-
感谢您的回复,但不明白您的意思。我没有说浏览器重写。这是 apache 配置。并且网站正确地重新定向。如前所述,它与 ie 一起工作得很好。我的问题是为什么 Firefox 不重定向 propelry.so 你能告诉我wireshark 的作用吗?
-
检查this answer。另外,清理浏览器中的缓存。
-
感谢干净的浏览器成功了。
标签: apache