Hello everybody,
i am new at this mailing list and this is my first post. I had a
problem with my trac configfile for the apache2.
Im Netz wo der Server steht wird gegen einen LDAP authentifiziert.
Jetzt habe ich lokal einen Benutzer und ich möchte das dieser sich
ebenfalls beim Trac anmelden kann.
My Server will authenticate user against an LDAP. Now i have an local
User which should be able to authenticate too. But i dont know how i
could combine this two methods.
With my config i became the following error: Internal Server Error:
The server encountered an internal error or misconfiguration and was
unable to complete your request. (Apache2.2.14)
Here is my configgile "trac" from Trac which is lying in /etc/apache2/
sites-enabled. The local User is called "phmd". The other user come
from LDAP. I dont habe much knowledge about configuration trac and
apache2 and there are several other people who edit this config file
so it would be great if here is someone who could help me.
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerName trac.example.com
DocumentRoot /var/www
ErrorLog /var/log/apache2/error.trac.log
CustomLog /var/log/apache2/access.trac.log combined
<Location /projects>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracUriRoot /projects
PythonOption PYTHON_EGG_CACHE /tmp
</Location>
# use the following for one authorization for all projects
# (names containing "-" are not detected):
# <LocationMatch "/projects/[[:alnum:]]+/login">
<Location /projects/mudisar>
AuthType Basic
AuthName "trac2"
# AuthUserFile /var/www/db/passwd
Require user phmnd
</Location>
<LocationMatch "/projects/[[:alnum:]]+/">
AuthType Basic
AuthName "trac"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthBasicAuthoritative off
AuthLDAPUrl ldap://ldap.inf.fh-brs.de:389/dc=fh-bonn-rhein-sieg,dc=$
# AuthUserFile /etc/apache2/dav_svn.passwd
# Require valid-user
# Require ldap-user sginze2s jschre2s fnatte2s rthiel2m
jschmi2s bhcw$
# Require user phmnd
Require ldap-user sginze2s jschre2s fnatte2s rthiel2m
jschmi2s bhcw$
</LocationMatch>
</VirtualHost>
With Best
bladepit
--
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.