Written on 2010年1月19日 @ 17:48 | by spirit | Tags: IIS  Firefox   | 浏览:

从新配置IIS后,用火狐狸浏览器(firefox)访问本地localhost是需要输入密码,具体解决配置方法如下。

是在Firefox地址栏中输入:about:config
然后在过滤器中输入:NTLM
这时候我们在过滤的结果中,可以看到只有两项。
其中一项是:network.automatic-ntlm-auth.trusted-this
双击这一项,在输入值中输入 localhost
这里输入的为Asp.net Development Server的站点名。
关闭FireFox,重新访问Asp.net Development Server的站点就可以解决这个问题了。

原因:
ASP.Net development web server 对于每个请求,都会执行 NTLM 验证,以确定处理的是来自同一个用户的请求。
在IE中这是自动完成的,Firefox浏览器需要做以上设置才可以。

FireFox访问Localhost提示用户名和密码。以下是英文:

for some time I had a strange problem; I could load sites from http://localhost in MSIE, but whenever I tried FireFox, it asked me for an user name and password. I've tried it all but I couldn't authenticate.
If you happen to have the same problem, here's a quick and simple workaround:

1: In Firefox type about:config in the addressbar
2: Find the preference named network.automatic-ntlm-auth.trusted-uris
3: Doubleclick and type localhost
4: Enter and you're done


若转载请注明出处: Spirit's Home
本文地址: http://www.7788sky.cn/post/Firefox-localhost-config.html
  1. 0 Response to “Firefox输入localhost需要用户名和密码”

Post a Comment

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。