Eirik Schwenke wrote:
> Does the webserver/webclient prompt for http-login on the url?
>   
No, there is no prompt at all.
> As I understand it, in the standard configuration, with basic http-auth
> enabled, and python running through mod_python, trac acquires the 
> http-username
> from apache.
>
> Still, the locationmatch looks correct to me, which leaves an error in the
> passwd-file name -- as apache should refuse to start if you're missing
> mod_authn_file in the apache config.
>   
if the passwd-file was not found (or in the wrong format), apache would 
prompt for authentication anyway, but never success. 
> Anything in the apache error.log ?
>
> You could try setting the log_level to DEBUG in trac.ini also -- might shed
> some light on what goes wrong, and when.
>   

I made some tests. At first, I explicitly set only one project:
...
<Location /test>
...
PythonOption TracEnv /home/httpd/trac-env/test
...
<LocationMatch /test/login>
...

With that, apache prompts for authentication and login process completes 
succesfully.

Next, without reloading my browser, i restored my previous apache 
configuration and restarted the server : i reloaded the page in the 
browser. Login information was kept, and everything worked fine. But 
when I restarted the browser... No prompt, only the same error as 
ever... There is no relevant information in the log (Debug level is 
set). Only a WARNING: 500 Trac Error.

This error persists even with an explicit <LocationMatch /test/login> in 
place of the regexp.

Note that I did this test with several browsers (firefox 2, firefox 3, 
lynx, opera), to be sure it was not a bug in it.

I will try with Trac 0.10 this afternoon or tomorrow to see if the 
problem may come from Trac 0.11b2.

I keep you informed.

Raph.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to