Exactly what errors are you getting from Apache?
Also, have you actually created a Trac project at /var/trac/monex?
On Jan 3, 2006, at 9:00 AM, Ian Docherty wrote:
Interestingly, if I create a file at
/var/trac/monex/index.html
and then go to the url
http://83.138.144.120:8003/index.html
it displays the file.
Which seems to indicate to me that the virtual server is working,
but the TracEnv or something is not quite right?
Regards
Ian
Ian Docherty wrote:
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
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac
!DSPAM:43ba84fa192169458282594!
Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac