On Wed, Jul 9, 2008 at 7:12 PM, Hans Dieter Pearcey <[EMAIL PROTECTED]> wrote:
> perldoc HTML::Mason::Interp, look for comp_root

Sorry, I think you're misreading this.  Look at this part:

>  For example, given the above component roots and a component path of
>  /products/index.html, Mason would search first for
>  /usr/local/foo/products/index.html, then for
>  /usr/local/bar/products/index.html.

And compare that to what you're saying:

> When a request comes in for /foo/index.html, Mason looks for the component
> '/index.html' in each of the comp_root paths in order; thus, it'll use
> /var/www/foo/index.html if it exists, or /var/www/common/index.html, or die.

The docs say it looks for the full path appended to the comp_root.  I
actually did try it anyway, and got the result I expected, i.e. it
looked for /var/www/common/foo/index.html.

I do appreciate the suggestion, but unfortunately for me that doesn't
seem to be the answer here.

- Perrin

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to