Auth_basic 500 error

nginx at tomvalentine.net nginx at tomvalentine.net
Thu Jul 9 22:08:46 MSD 2009


Hello,

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

Tom

Attached is part of my log file



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 500_error.log
URL: <http://nginx.org/pipermail/nginx/attachments/20090709/2aa6ccd3/attachment.ksh>


More information about the nginx mailing list