Hi Michael, the matching is top down. You've put your mjinks/** pretty low in the sitemap. Further above you see the */** which also matches requests for mjinks/foo/bar. Because the */** is above it matches first and your mjinks/** isn't used. So move the mjinks/** up.
Regards, Jasha Joachimsthal j.joachimst...@onehippo.com - ja...@apache.org www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA 94952 +1 (707) 7734646 2009/7/12 Michael Jinks <michael.ji...@gmail.com> > [repost, first one eaten by a misunderstanding between me and the > mailing list software, apologies if anybody got this multiple times] > - Hide quoted text - > > Hi list. > > I'm a sysadmin with no Cocoon experience who's been asked to deploy it > for a project. One thing we need is to have a user-specific staging > area, analogous to Apache's ~user/public_html directory. > > The requesting user was nice enough to provide me with an example to > cargo-cult from, so in the main sitemap.xmap I have: > > <map:match pattern="mjinks/**"> > <map:mount uri-prefix="mjinks/" check-reload="yes" > src="file:///home/mjinks/cocoon-stage/" reload-method="synchron"/> > </map:match> > > But, when I try to browse to "cocoon/mjinks" on our server, I get: > > Resource not found > > java.io.FileNotFoundException: > /var/lib/tomcat-5.5/webapps/cocoon/mjinks/sitemap.xmap (No such file > or directory) > > So, apparently either my "match pattern" or my "mount uri-prefix" tag, > or both, are wrong. Either that, or I've added that whole clause to > the wrong part of the sitemap.xmap file. So, with apologies, I'm > attaching the whole file to this message since I'm not sure which > context matters. > > Ugh. Thanks in advance. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org >