On Mar 25, 5:59 pm, Mirco Wahab <wahab-m...@gmx.de> wrote:
> macshaggy wrote:
> > On Mar 23, 8:45 pm, Mirco Wahab <wahab-m...@gmx.de> wrote:
> >> ...
> >> PerlSetVar MasonCompRoot /Users/jbellew/Sites
> >> PerlSetVar MasonDataDir /var/cache/mason
> >> ...
>
> > Thanks that makes sense. Next question, since when I read your answer
> > and saw the above example I had to hit myself upside the hed, I need
> > my Component Root Directory to be set to /usr/local/apache2/htdocs but
> > still have Mason process files from /Users/jbellew/Sites as well. Can
> > I have multiple Root directorys?
>
> Yes, you can (according to the docs), but
> then Mason has to search the target
> *on each request* through the different
> component roots, because you have address
> any Mason component /relative to its
> component root.
>
> What exactly do you try to do?
> See:http://search.cpan.org/~jswartz/HTML...ML/Mason/Admin....
>
> Regards
>
> M.
Thanks once again and I'll leave this alone when it's working.
Basically I'm trying to setup my system that anytime a person
specifies ~User then Mason will go ahead a serve up that Users html
doc. Otherwise, Mason will continue to serve via the document root. I
don't want it to be specifc to just 1 user but to all that are on the
system.
I'll try this a see if it works otherwise I'm thinking of having a
handler that intercepts the request and expands it for Mason
automatically.
But again thanks for all the help!!
J