Hi,
Recently I had a issue with auth module. I set one location to use basic authentication and tried to login via web browser but I couldn't. There was a error message logged:
[code]
"no user/password was provided for basic authentication, client: <IP>"
[/code]
immediately and no popup windows posted by web browser. I started to review my config file and realized that error_page for 401 code was set to use full address, like that:
[code]
error_page 401 http://website.com/error/index.html
[/code]
Setting this page to use "relative path"
[code]
error_page 401 /error/index.html
[/code]
actually solved the issue.
Can anyone explain, why 401 code can not be used with full webserver's address? (as far as I can see, this is the only error code which cause troubles).