Welcome! Log In Create A New Profile

Advanced

Re: Auth_basic 500 error

All files from this thread

File Name File Size   Posted by Date  
500_error.log 3 KB open | download tomval2k 07/09/2009 Read message
July 09, 2009 03:59PM
On Thu, Jul 09, 2009 at 07:08:46PM +0100, nginx@tomvalentine.net wrote:

> 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

> 2009/07/09 17:01:45 [error] 1348#504: *3 ReadFile() failed (38: Reached the end of the file), client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost:88"

This is nginx bug, I will try to reproduce it. How big is your htpasswd ?


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Auth_basic 500 error Attachments

tomval2k July 09, 2009 02:08PM

Re: Auth_basic 500 error

mike July 09, 2009 02:32PM

Re: Auth_basic 500 error

Tom Valentine July 09, 2009 04:28PM

Re: Auth_basic 500 error

Igor Sysoev July 09, 2009 03:59PM

Re: Auth_basic 500 error

Tom Valentine July 09, 2009 04:31PM

Re: Auth_basic 500 error

matija July 23, 2009 05:31AM

Re: Auth_basic 500 error

matija July 23, 2009 05:32AM

Re: Auth_basic 500 error

tomval2k July 09, 2009 04:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready