Hi,

I installed trac with darwinports. It looks it was installed correctly. I configured apache2 with :
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule python_module modules/mod_python.so

Alias /trachtdocs/ "/opt/local/share/trac/htdocs/"

         <Location /trac>
                 SetHandler mod_python
                 #PythonHandler trac.ModPythonHandler
                 PythonHandler trac.web.modpython_frontend
                 PythonOption TracUriRoot "/trac"
                 PythonOption TracEnvParentDir "/Projects/trac"
         </Location>

         <LocationMatch /trac/[[:alnum:]]+/login>
                 AuthType Basic
                 AuthName "Trac"
                 AuthUserFile /Projects/master-auth
                 Require valid-user
         </LocationMatch>


but when I try to connect to it, I get :
[Thu Apr 20 06:07:24 2006] [error] [client 192.168.0.101] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Thu Apr 20 06:07:24 2006] [error] [client 192.168.0.101] PythonHandler trac.web.modpython_frontend: File "/opt/local/lib/ python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug) [Thu Apr 20 06:07:24 2006] [error] [client 192.168.0.101] PythonHandler trac.web.modpython_frontend: File "/opt/local/lib/ python2.4/site-packages/mod_python/apache.py", line 461, in import_module\n f, p, d = imp.find_module(parts[i], path) [Thu Apr 20 06:07:24 2006] [error] [client 192.168.0.101] PythonHandler trac.web.modpython_frontend: ImportError: No module named trac [Thu Apr 20 06:07:24 2006] [error] [client 192.168.0.101] File does not exist: /opt/local/apache2/htdocs/favicon.ico


Any ideas what can be wrong ?

Thank you,
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to