On Tue, 2006-01-03 at 10:40 +0000, Ian Docherty wrote:
> Robin
> I was slightly mis-leading (I sent several emails until I sorted out my 
> registered email address!)
> 
> , I am setting up a virtual server as follows
> 
> Listen 0.0.0.0:8000
> 
> <VirtualHost 83.138.100.100:8000 >
>   DocumentRoot /var/trac/monex
>   ServerName 83.138.100.100:8000
>   <Directory />
>     SetHandler mod_python
>     PythonHandler trac.web.modpython_frontend
>     PythonOption TracEnv /var/trac/monex
> #    PythonOption TracUriRoot /
>   </Directory>
> </VirtualHost>
> 
> Does that make a difference?

No, as stated in the previous response, you need to change the
<Directory> block to a <Location> block, such as in all the
configuration examples on the Trac site.

>From the Apache docs:
 * If you are attempting to match objects at the filesystem level then
you must use <Directory> and/or <Files>.
 * If you are attempting to match objects at the URL level then you must
use <Location>

You are trying to match URLs at "/", not the "/" directory of the
filesystem, so you need to use <Location>.

-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to