I'm trying to log into my site that requires authentication but I get a popup that says it doesn't require authentication and then I get a 403
I have a site that requires authentication. In the past i have logged in using firefox with the following format
http://username:password@sitename:siteport/specificsiteurlinfo
and gotten in just fine. I just set up a new computer with a new instance of firefox and try the same thing but I now get the following popup-
"You are about to log in to the site "sitename" with the username "username", but the website does not require authentication. This may be an attempt to trick you.
Is "sitename" the site you want to visit?"
When I click "yes" Firefox appears to try to go to the site without any authentication and I of course get a 403 Forbidden error.
I have tried reverting back to old versions of Firefox with no luck.
Any advice would be greatly appreciated.
Thank you.
所有回覆 (4)
The purpose of that warning is to alert you to the possibility of being fooled by a link with login credentials at the beginning. On your old computer you might have tweaked this setting to limit when the warning appears:
http://kb.mozillazine.org/Network.http.phishy-userpass-length
This article discusses the steps to adjust that setting to fit your needs: http://fix.lazyjeff.com/2011/04/disable-firefox-login-prompt.html.
Of course, the above doesn't address why the login doesn't work when you click Yes. Something might be broken there.
Setting the network.http.phishy-userpass-length property to 100 did suppress the warning but unfortunately it did not solve the problem. Other computers are able to log in to this site. This one just seems to think that it doesn't need to.
Is there a way to force Firefox to use authentication even if it thinks authentication is not required?
Does it work if you only provide the user name?