Well, I tried that. I added the line <map:mount src="myfolder/" uri-prefix=""/>
(it needed a slash on the end) to the <map:match pattern="*"> in the first pipeline of my root sitemap. But now accessing root I get: /usr/local/cocoon/build/webapp/News/sitemap.xmap (No such file or directory) This is obviuosly related to the <map:redirect-to uri="News/" /> that I have in my sub-sitemap at "myfolder/sitemap.xmap". But I don't get what this redirect has to do with mapping, and how exactly mapping works in general. Cocoon documentation describes it poorly. Martynas Jusevicius On 7/16/05, Upayavira <[EMAIL PROTECTED]> wrote: > Martynas Jusevicius wrote: > > Hi, > > > > I have my application in a subfolder of Cocoon web root > > (cocoon/build/webapp). How do I set it as the root app (which > > currently shows "Welcome to Apache Cocoon!")? Should I simply copy my > > files to the root folder and edit the main sitemap, or is there a > > better way to do that? > > In your root sitemap add a <map:mount src="myfolder" uri-prefix=""/> > node right at the beginning of your first <map:pipeline>. > > Notvery subtle, but should do it. > > Upayavira > > > Martynas Jusevicius > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
