On Sunday 05 March 2006 17:46, Matthew Good wrote:
> On Sun, 2006-03-05 at 17:07 +0100, Michael Goettsche wrote:
> > I'm setting up a complex Trac setup with many projects and thus am using
> > TracEnvParentDir.
> > My approach works except that a broken Trac project is displayed where at
> > most the project listing should be shown.
> > Here are the Trac related lines of my apache config:
> >
> >     <Macro TracProjects $projectname>
> >         <Location /trac/$projectname>
> >                 SetHandler mod_python
> >                 PythonHandler trac.web.modpython_frontend
> >                 PythonOption TracEnvParentDir
> > /var/projects/$projectname/trac PythonOption TracUriRoot
> > /trac/$projectname
> >         </Location>
> >
> >         <LocationMatch "/trac/$projectname/[^/]+/login">
> >                 AuthType Basic
> >                 AuthName "$projectname"
> >                 AuthUserFile
> > /var/projects/$projectname/$projectname.passwd Require valid-user
> >         </LocationMatch>
> >     </Macro>
> >
> > If the Macro part confuses you, just replace the $projectname part with a
> > real name in mind.
>
> Have you actually tried that for a single project?  If not please try
> taking out the Macro and fill one of your projects to make sure the rest
> of your config is working ok.  I've never seen any setups using Macro
> before, so I'm not sure what's required to make it work.

Hi Matthew,

I just tried it and it's exactly the same problem. mod_macro does its job fine 
so the problem must be elsewhere.

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

Reply via email to