En/na Oliver Jeeves ha escrit:
> Francesc Guasch wrote:
>> I have a site with two entrance points, because of two different
>> authentication methods. The Mason components are located in one
>> directory. I need users who use the second login method also run
>> the same components.
>>
>> /door1/dir/dir/dir/file.html
>> /door2/dhandler
>
> You can specify multiple component roots:
>
> http://masonhq.com/docs/manual/Admin.html#component_root
>
> If a component isn't found in the first component root, the next is
> searched.
Thank you for your answer, Oliver, but I can't make it work.
I think it's because one component root is inside the other.
I tried like this and in reverse order:
my $ah
= HTML::Mason::ApacheHandler->new
(
comp_root => [
[ a => "$comp_root/door1" ],
[ b => $comp_root ],
],
What do you think ?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users