Auth_basic 500 error

nginx at nginx at
Thu Jul 9 22:08:46 MSD 2009


I can not seem to get auth basic to work, my configuration works fine
with everything else, but if I enable authorisation, I get a 500
Internal Server Error

I think the key error is the Readfile() error, but I have no idea what
it means or how to fix it.

   From nginx.conf

location / {
	index  index.html index.htm index.php;
	auth_basic private;
	auth_basic_user_file htpasswd;

If anyone can help, thanks!
By the way, I am using nginx/0.7.61 on Windows Vista, and the error
happens in both Firefox/Opera


Attached is part of my log file

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 500_error.log
URL: <>

More information about the nginx mailing list