I am using the information at
http://typo.leetsoft.com/trac/wiki/TracModPython to work out how to
configure Apache.
In particular the virtual host configuration. The only difference is
that rather than using virtual named hosts I am using different ports.
I have tried a couple of simple virtual hosts, that work.
<VirtualHost *:8001>
DocumentRoot "/var/html1"
<Directory "/var/html1">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
<VirtualHost *:8002>
DocumentRoot "/var/html2"
<Directory "/var/html2">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
I have tried multiple versions of the trac virtual host, such as each of
the following (with and without the TracUriRoot options), all of which
give me the 404 not found error.
<VirtualHost *:8003>
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/monex
# PythonOption TracUriRoot /
</Location>
</VirtualHost>
<VirtualHost *:8003>
DocumentRoot /var/trac/monex
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/monex
# PythonOption TracUriRoot /
</Location>
</VirtualHost>
<VirtualHost *:8003>
DocumentRoot /var/trac/monex
<Directory /var/trac/monex/>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/monex
# PythonOption TracUriRoot /
</Directory>
</VirtualHost>
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac