回复:[shlug] 如何禁止最新版 Firefox 自动由 http 协议跳转到 https 协议?
1.浏览器的安全策略问题吧,貌似最新的Chrome默认指向https. 2.过滤规则应该区分不出来什么类型域名,只能指定具体的地址吧。 我的理解~ 在2019年10月03日 16:18,'Easior Lars' via Shanghai Linux User Group 写道: 各位好, 不知道怎么回事?最近用 Firefox 访问本地网页,如 127.0.0.1/~tom,会被自动定向为 https://127.0.0.1/~tom,然后出现 ERR_CONNECTION_REFUSED 错误。即使在地址栏里输入 http://127.0.0.1/~tom,还是会被重定向。一个有趣的现象是:当用老版本的 Safari 建立一个连接 http://127.0.0.1/~tom,那么 Firefox 就不再发生重定向问题,也将以 http 协议访问。 最新版的 Chrome 虽然也会碰到同样的问题,但是可以通过 chrome://net-internats 过滤之后,似乎可以访问 http://127.0.0.1/~tom。但是一旦我用 Chrome 再次访问路由器管理页面 http://192.168.100.100,就会再次出现被重定向使用 https 协议的问题。 看起来,这里有两个问题: 1、如何禁止最新版 Firefox 自动由 http 协议跳转到 https 协议? 2、如何排除路由器端的重定向问题? 请各位请教问题的症结和解决方案,多谢! EL -- -- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to shlug@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscr...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN --- 您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。 要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/shlug/952683567.3037716.1570090716363%40mail.yahoo.com。 -- -- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to shlug@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscr...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN --- 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。 要在网络上查看此讨论,请访问 https://groups.google.com/d/msgid/shlug/654d1c19.eb6.16d959abd51.Coremail.yuzibode%40126.com。
Re: [shlug] 如何禁止最新版 Firefox 自动由 http 协议跳转到 https 协议?
On Thu, Oct 03, 2019 at 08:18:36AM +, 'Easior Lars' via Shanghai Linux User Group wrote: > 各位好, > 不知道怎么回事?最近用 Firefox 访问本地网页,如 127.0.0.1/~tom,会被自动定向为 > https://127.0.0.1/~tom,然后出现 ERR_CONNECTION_REFUSED 错误。即使在地址栏里输入 > http://127.0.0.1/~tom,还是会被重定向。一个有趣的现象是:当用老版本的 Safari 建立一个连接 > http://127.0.0.1/~tom,那么 Firefox 就不再发生重定向问题,也将以 http 协议访问。 > > 最新版的 Chrome 虽然也会碰到同样的问题,但是可以通过 chrome://net-internats 过滤之后,似乎可以访问 > http://127.0.0.1/~tom。但是一旦我用 Chrome 再次访问路由器管理页面 > http://192.168.100.100,就会再次出现被重定向使用 https 协议的问题。 > 看起来,这里有两个问题:1、如何禁止最新版 Firefox 自动由 http 协议跳转到 https 协议? > 2、如何排除路由器端的重定向问题? > > 请各位请教问题的症结和解决方案,多谢! > EL 301 重定向的话,清除缓存就行了。HSTS 好像清除缓存也有效。也可以 F12 网络 面板里禁用缓存试试。 > 2、如何排除路由器端的重定向问题? 这取决于你的路由器端是什么东西。 -- Best regards, lilydjwg Linux Vim Python 我的博客: https://blog.lilydjwg.me/ -- A: Because it obfuscates the reading. Q: Why is top posting so bad? -- -- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to shlug@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscr...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN --- 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。 要在网络上查看此讨论,请访问 https://groups.google.com/d/msgid/shlug/20191004141201.GA1476384%40lilyforest.localdomain。