My setup:

Collabnet Subversion Edge. 2.1.1
Trac 0.12.2
Windows Server 2003

My subversion server is setup with LDAP and is running fine.  I'd like
to setup Trac to make use of the Apache server and use LDAP for
authentication.  I can run Trac standalone (without authentication)
but I can't get the Apache server to load my Trac project.

I have a single trac project located at c:\trac_projects\myproject.  I
did a deploy by calling:

trac-admin c:\trac_projects\myproject deploy c:\temp\deploy

I then copied the c:\temp\deploy\cgi-bin and c:\temp\deploy\htdocs
folders on top of c:\trac_projects\myproject\cgi-bin and c:
\trac_projects\myproject\htdocs folders respectively.

I then added the following to my httpd.conf file:

LoadModule ldap_module lib/modules/mod_ldap.so
LoadModule authnz_ldap_module lib/modules/mod_authnz_ldap.so
LoadModule python_module lib/modules/mod_python.so

<Directory "C:\trac_projects\myproject\cgi-bin">
  Options +ExecCGI
  AddHandler cgi-script cgi pl
</Directory>

ScriptAlias /trac "C:\trac_projects\myproject\cgi-bin\trac.cgi"

<Location /trac/>
  SetHandler mod_python
  PythonDebug on
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv "C:\trac_projects\myproject"
  PythonOption TracUriRoot "C:\trac_projects\myproject"
  Order deny,allow
  Deny from all
  AuthType Basic
  AuthName "Trac"
  AuthBasicProvider "ldap"
  AuthLDAPURL "ldap://same/url/used/by/subversion"; "NONE"
  AuthLDAPBindDN "samebindDNusedbysubversion"
  AuthLDAPBindPassword "samepasswordusedbysubversion"
  AuthzLDAPAuthoritative off
  require valid-user
</Location>

When I restart the Apache server and browse to https://myserver/trac,
I get an Internal Server Error.  Looking through the log files, the
error was '"GET /trac HTTP/1.1" 500 543'.  What am I missing in my
configuration?

Thanks,
Bryan

-- 
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.

Reply via email to