I've the next directory structure:
--var ----trac ------company1 --------project1 --------project2 ------company2 --------project3 --------project4
and i'm wondering if theres a method to specify in httpd.conf to list out the sites after i visit domain.com/trac. Presently i authored:
<Location /trac> Options Indexes </Location>
However i dont understand how to specify the document root to /var/trac. I attempted to complete
PythonOption TracEnvParentDir "/var/trac" PythonOption TracUriRoot "/trac
however i get error 500, but that's since the folders in /var/trac aren't trac conditions.
I believe you are right. You'll need to find away out to allow Apache handle demands to "/" without the assistance of Python and trac.
It's a little hard to provide you with advice because I'm not sure what your httpd.conf looks at this time, but my trac-setup used a
<LocationMatch> directive to trap exactly what shouldn't be handled by trac so Apache may take proper care of it.
So you could do this something similar to this:
<LocationMatch "^/trac/.+"> # Your trac directives here PythonHandler trac.web.modpython_frontend .... </Location> Alias /trac "/var/trac" <Directory "/var/trac"> Options Indexes Order allow,deny Allow from all </Directory>