> You probably want mod_python as well, if you want to run Trac from > within Apache. Otherwise, this should be enough and you can use the > tracd approach.
I've installed and tested mod_python. I've added <Location /projects/myproject> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv c:\var\trac\myproject PythonOption TracUriRoot /projects/myproject </Location> into httpd.conf now, when I try http://myhost/projects/myproject, I get the following log messages. Any hint how to proceed? [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\mod_python\\apache.py", line 2 99, in HandlerDispatch\n result = object(req) [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\web\\modpython_frontend. py", line 87, in handler\n gateway.run(dispatch_request) [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\web\\wsgi.py", line 87, in run\n response = application(self.environ, self._start_response) [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\web\\main.py", line 346, in dispatch_request\n env = _open_environment(env_path, run_once=environ['wsgi.run_once']) [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\web\\main.py", line 57, in _open_environment\n env_cache[env_path] = open_environment(env_path) [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\env.py", line 433, in op en_environment\n env = Environment(env_path) [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\env.py", line 126, in __ init__\n self.verify() [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: File "C:\\Python24\\Lib\\site-packages\\trac\\env.py", line 176, in ve rify\n assert fd.read(26) == 'Trac Environment Version 1' [Thu Oct 19 14:50:18 2006] [error] [client ] PythonHandler trac.web.modpython_frontend: AssertionError [Thu Oct 19 14:50:18 2006] [error] [client ] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
