On 17 Jun., 13:00, Charlie <[EMAIL PROTECTED]> wrote:
> If you are using Apache authentication, do you have 'require valid-
> user' or are you allowing anonymous users? If the latter (which you
> won't have require valid-user for the URL for trac), then you should
> add a new URL path (.../trac/login) which does require a valid user.
> This causes apache to do the auth and put the authenticate user info
> in the right place.
>
> On Jun 16, 4:59 pm, [EMAIL PROTECTED] wrote:
>
> > On Jun 16, 3:48 pm, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote:
>
> > > > What's going on?
> > > > Any hints appreciated.
>
> > > Looks like your Apache config file is wrong.
>
> > Are you by chance trying to use DAV for the subversion section? the
> > reason I asked, that was the only time I didn't get any entry in the
> > logs.
>
> > basically I had enabled the mod_dav_svn module.so, but I didn't enable
> > the mod_dav.so module earlier in the auth file, solved my issue.
>
> > posting your auth file might help (of course if you want to anonymize
> > it a bit...)
Hi all,
thank you for your posts.
Here the relevant snippet of the apache config. It's part of a vhost-
entry.
---------------------8<----------------------------
<Location />
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /opt/trac/
PythonOption TracUriRoot /
PythonDebug on
Order deny,allow
Allow from all
</Location>
<LocationMatch "/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /etc/apache2/passwd
Require valid-user
</LocationMatch>
---------------------8<----------------------------
I tried several different hints of the docu, but nothing helped.
I do get a Status 500 message in the apache logs for the URI /login,
but not a single line
of information in the logs what happend or not. Somthing is going
wrong with the authentication
informations that should be transferred from apache to trac. But I
have not a single entry point
to investigate the whole thing. How can I test, if the authentication
stuff does work with my version
of mod_python?
Best regards
Andreas Mock
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---