pl.comp.os.linux
Apache2 + mod_python + trac
Witam.
Posiadam Debian Squeeze. Na nim dzia??a Apache2 (kilka stronek + SVN).
Zainstalowa??em dzisiaj trac'a. Wszystko przebieg??o bezbole??nie,
stworzy??em projekt, uruchomi??em potrzebne modu??y (mod_python,
mod_fcgid). Konfiguracja jest standardowa, tzn:
<Location /projects>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracUriRoot /projects
</Location>
Po wywo??aniu serwer/projects dostaj?? 500 Internal Server Error.
W logach mam:
[error] /usr/lib/python2.6/dist-packages/mod_python/importer.py:33:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
[error] import md5
[error] /usr/lib/python2.6/dist-packages/mod_python/importer.py:1548:
DeprecationWarning: catching of string exceptions is deprecated
[error] except apache.PROG_TRACEBACK, traceblock:
Mo??e kto?? przerabia?? taki problem. W google pojawiaj?? si?? wyniki, ale
rozwi??zania nie ma.
Natrafi??em na dwa: jedno polega??o na zmianie 2 linijek w import.py, a
drugie na zmianie uprawnie?? do katalogu.
Nic nie pomog??o.
Dzi??ki za ewentualne sugestie.
Pozdrawiam
??ukasz
Written by Masterson
26/10/2011 17.18.32
Check some pics on this site!
25/05/2012 8.51.33