[mod_python] Problem with win32 installation - can't authenticate

Jacob Martinson jmartinson at info234.com
Thu Jul 10 18:55:49 EST 2003


The browser comes back with a prompt again a number of times and then 
eventually I end up at the access forbidden page.  The strangest thing just 
happened though... I switched the order of getting the username and 
password, and it started working!  I haven't changed anything in the apache 
config between then and now.



At 07:50 PM 7/10/2003 -0400, Gregory (Grisha) Trubetskoy wrote:

>On Thu, 10 Jul 2003, Jacob Martinson wrote:
> > I am prompted for username/password, but I can't authenticate
> > successfully.  Also, if I ignore req.user and password and just return
> > apache.OK, it allows me to access the file I am requesting.
>When you say "can't authenticate" - does the browser come back with the
>user/password dialog, or some other thing?
>I just tried your example, and it worked for me.... In the old versions of
>apache you had to call to call get_basic_auth_pw() before trying to read
>value of req.user, but that's not longer true I think. May be tried
>swapping those two lines, but I think the problem is elsewhere.

More information about the Mod_python mailing list