Hi gang,
I am new to Trac, however I have been able to successfully install an instance
on Fedora with relative ease. I read (often) that mod_wsgi will perform much
better than mod_python so I have opted to use that too. However, I am curious
to
know if Trac is actually utilizing it. The reason I ask is because the
configuration seem to conflict a little between Apache's httpd.conf and the
trac.conf file. Did I miss something in the mod_wsgi config?
I have the module loaded and configured as follows in httpd.conf:
LoadModule wsgi_module modules/mod_wsgi.so
...
WSGIScriptAlias /trac "srv/trac/dev/apache/trac.wsgi"
<Directory "srv/trac/dev/apache">
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
But.. in trac.conf the config for Python is to use mod_python...
<Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /srv/trac/dev
PythonOption TracUriRoot /trac
SetEnv PYTHON_EGG_CACHE /tmp
PythonInterpreter trac
</Location>
<Location /trac/login>
AuthType Basic
AuthName "foobar"
AuthUserFile /srv/trac/conf/trac.htpasswd
Require valid-user
</Location>
<IfModule mod_dav.c>
<Location /svn>
# Uncomment this to enable the repository,
DAV svn
# Set this to the path to your repository
SVNPath /srv/svn
</Location>
</IfModule>
~
--
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.