Firefox 不断重定向到 https
Firefox keeps redirecting to https
给出的答案 do not match my problem. I accidentally landed on http://sub.domain.org/ which 301 redirected me to https://sub.domain.org/。然后我更改了服务器配置,使其不再重定向我,但 Firefox 一直在重定向。 Firefox 控制台日志显示:
GET http://sub.domain.org/ [HTTP/1.1 301 Moved Permanently 0ms]
GET https://sub.domain.org/
所以问题是:如何让 Firefox 具体忘记这个 "permanent redirection"?我不想删除我的整个缓存。
我不知道从用户界面,我找到这个解决方案。
- 下载单个可执行文件sqlite3
- 关闭 Firefox
- 找到 firefox 创建您的用户配置文件的目录。
- 找到places.sqlite文件,是sqlite数据库。
- 打开数据库
sqlite3 places.sqlite
并删除特定记录,例如
DELETE FROM moz_places WHERE url LIKE '%sub.domain.org%';
对其他表重复(moz_hosts、moz_historyvisits、等等...)。
提示:在删除之前复制文件。
要知道要修剪哪些表,请在网上搜索
firefox forensics history
例如我发现这个 article
替代解决方案,简单。
打开 Firefox 并在地址栏中输入 URL
这会强制浏览器从 http://
重新加载网页
给出的答案
GET http://sub.domain.org/ [HTTP/1.1 301 Moved Permanently 0ms]
GET https://sub.domain.org/
所以问题是:如何让 Firefox 具体忘记这个 "permanent redirection"?我不想删除我的整个缓存。
我不知道从用户界面,我找到这个解决方案。
- 下载单个可执行文件sqlite3
- 关闭 Firefox
- 找到 firefox 创建您的用户配置文件的目录。
- 找到places.sqlite文件,是sqlite数据库。
- 打开数据库
sqlite3 places.sqlite
并删除特定记录,例如
DELETE FROM moz_places WHERE url LIKE '%sub.domain.org%';
对其他表重复(moz_hosts、moz_historyvisits、等等...)。
提示:在删除之前复制文件。
要知道要修剪哪些表,请在网上搜索
firefox forensics history
例如我发现这个 article
替代解决方案,简单。
打开 Firefox 并在地址栏中输入 URL
这会强制浏览器从 http://
重新加载网页