My problem fixed if I change the order of component roots - first, my private
tree and then, global.

PerlAddVar  MasonCompRoot  'megera => /home/megera/WWW/mason/'
PerlSetVar  MasonCompRoot  'main => /var/www/'

But I still don't understand, why
/~megera/mason/index.html  match /index.html !!!


Oleg


On Tue, 9 Mar 2010, Oleg Bartunov wrote:

> Hi there,
>
> I configured several component roots (Mason 1.44) and got strange problem - 
> looks like my second comproot just ignored, for example,
>
> http://localhost/~megera/mason/ shows default apache page from 
> /var/www/index.html. From perl-status I see component in memory cache:
> /main/index.html (modified Mon Feb 22 02:11:39 2010)
>
> So, what's going on ?
>
>
> Here is my configuration (Ubuntu 9.10):
>
> PerlSetVar  MasonCompRoot  'main => /var/www/'
> PerlAddVar  MasonCompRoot  'megera => /home/megera/WWW/mason/'
> PerlSetVar  MasonDataDir   /var/www/
>
> <Directory /home/megera/WWW/mason/>
>    <Files "*.html">
>            SetHandler   perl-script
>            PerlHandler  HTML::Mason::ApacheHandler
>    </Files>
> </Directory>
>
>
>       Regards,
>               Oleg
> _____________________________________________________________
> Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
> Sternberg Astronomical Institute, Moscow University, Russia
> Internet: o...@sai.msu.su, http://www.sai.msu.su/~megera/
> phone: +007(495)939-16-83, +007(495)939-23-83
>

        Regards,
                Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: o...@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to