On Tue, 9 Mar 2010, Hans Dieter Pearcey wrote: > On Tue, 9 Mar 2010 20:24:39 +0300 (MSK), Oleg Bartunov <o...@sai.msu.su> > 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 ? > > Sounds like you missed the part in HTML::Mason::Admin where it tells you that > component roots are searched in order. > > So, yeah, if there's an index.html component in your first component root > directory, it won't look for one in your second component root directory.
Thanks, I realized this. It'd be nice (more intuitive) to have sort of current directory ('.') in the mason comp root. In this case I'd just select best matched component root. 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® 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