|
Hi I am getting the following errors in my apache error
logs. I am very new to trac. I have installed trac on fecora core 5. I have got it
working when I run the tracd command but it only works locally on my own
machine and I can’t see the site from any other machine on my network so
when I integrated it into apache I then get these errors. [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: Traceback (most recent call last): [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/mod_python/apache.py",
line 299, in HandlerDispatch\n result = object(req) [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File
"/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py",
line 199, in handler\n env = get_environment(mpr,
project_opts) [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File
"/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in
get_environment\n return _open_environment(env_path,
threaded) [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File
"/usr/lib/python2.4/site-packages/trac/web/main.py", line 51, in
_open_environment\n env_cache[env_path] =
open_environment(env_path) [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File
"/usr/lib/python2.4/site-packages/trac/env.py", line 374, in
open_environment\n env = Environment(env_path) [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File
"/usr/lib/python2.4/site-packages/trac/env.py", line 81, in
__init__\n self.verify() [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: File
"/usr/lib/python2.4/site-packages/trac/env.py", line 129, in
verify\n fd = open(os.path.join(self.path, 'VERSION'), 'r') [Sun Jun 25 09:43:57 2006] [error] [client 192.168.0.119] PythonHandler
trac.web.modpython_frontend: IOError: [Errno 13] Permission denied:
'/srv/trac/micore/VERSION' I have added the following config to my apache conf DocumentRoot "/usr/share/trac/htdocs" <Location /projects/micore> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /srv/trac/micore #PythonOption TracUriRoot /projects/micore </Location> ScriptAlias /cgi-bin/ "/usr/share/trac/cgi-bin/" # # "/var/www/cgi-bin" should be changed to whatever
your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/usr/share/trac/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> |
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
