Apache 1.3 is quite a old version for Apache (read: outdated).
This means you need to run mod_python 2.x, and I'm not confident it
can even be used w/ Trac. Last release of mod_python 2.x is 5 years
old... mod_python 3.1.3 is recommended, and mod_python 3.x does
require Apache 2.x: http://www.modpython.org/
You probably want to use an alternative solution for Apache (FastCGI?)
if you cannot use a modern Apache server.
About the warning message: google it, the issue and the related
workarounds are well documented.
On 8/16/06, Hershel Robinson <[EMAIL PROTECTED]> wrote:
I have a RedHat box with Apache 1.3. The sys admin installed the latest
Python and other dependencies. We are using the latest trunk code with
MySQL support. I installed that myself today.
The install went well it seems. I got this message:
=====
Project environment for 'xxx' created.
You may now configure the environment by editing the file:
/home/trac/project/conf/trac.ini
=====
I setup httpd.conf to what seems correct, namely this:
=====
<VirtualHost *:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/trac
ServerName trac.xxx.com
ErrorLog logs/trac.xxx.com-error_log
CustomLog logs/trac.xxx.com-access_log common
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /home/trac/project
PythonOption TracUriRoot /
</Location>
# <Location /login>
# AuthType Basic
# AuthName "MyCompany Trac Server"
# AuthUserFile /home/trac/myproject/.htpasswd
# Require valid-user
# </Location>
</VirtualHost>
=====
and it has this also:
LoadModule python_module /usr/local/apache/libexec/mod_python.so
Now when I restart apache, this is what I see:
[EMAIL PROTECTED] trac-trunk316]# apachectl stop
/sbin/apachectl stop: httpd stopped
[EMAIL PROTECTED] trac-trunk316]# apachectl start
[Wed Aug 16 06:22:53 2006] [warn] Loaded DSO
/usr/local/apache/libexec/mod_python.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
/sbin/apachectl start: httpd started
[EMAIL PROTECTED] trac-trunk316]#
but I do not know what this means. Pointing my browser at trac.xxx.com
shows me a simple list of the files there. I have not been able to get
past that.
Anyone see what's wrong here?
Thanks.
--
Web Site Construction by Gallery Robinson
http://galleryrobinson.com/
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac
--
Manu
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac