On Thu, 2006-02-02 at 11:22 -0800, Randall Rauwendaal wrote: > I've installed and configured trac using mod_python and Apache2, and I've > configured apache such that trac.domain.tld, lists the available projects, > while trac.domain.tld/project is the project itself. Unfortunately > trac.domain.tld/project does not seem to correctly load the images or > stylesheets, however, every link from trac.domain.tld/project, does. > > <VirtualHost *:80> > ServerName trac.domain.tld > > DocumentRoot /var/trac/project > > <Location /> > SetHandler mod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnvParentDir /var/trac > PythonOption TracUriRoot / > </Location> > > <Location /project> > SetHandler mod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /var/trac/project > PythonOption TracUriRoot /project > AuthType Basic > AuthName "Trac Server" > AuthUserFile /var/trac/project/.htusers > Require valid-user > </Location> > </VirtualHost> > > Any ideas on how I can get trac.domain.tld/project to load properly? I've > messed around with the configuration quite a bit with no success.
Well, I would remove all the mod_python-related stuff from <Location /project>, since this will already be handled appropriately by the TracEnvParentDir from the previous block. Then just leave the authentication options in the block for that project. -- Matthew Good <[EMAIL PROTECTED]> _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
