You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ryan Hoegg <rh...@isisnetworks.net> on 2003/03/29 05:42:41 UTC
Interesting use of map:mount
Hey all,
I wanted to run my novel usage of map:mount by you all in case I am
breaking some seemingly unwritten rule.
I have my main sitemap all set up declaring components and such, and
then in my pipelines I have this:
<map:pipeline>
<map:match pattern="**">
<map:mount check-reload="yes" src="isis-sitemap.xmap" uri-prefix=""/>
</map:match>
</map:pipeline>
Note the uri-prefix. The idea is that I have a sitemap for my
application that defines the actual application sitemap. I tried it and
it works. Is there some reason I shouldn't be doing this? All the
map:mount docs I can find talk about using this for delegating URI space
to other sitemaps.
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: Interesting use of map:mount
Posted by Irv Salisbury III <ir...@dotech.com>.
We use this at our company for the various projects we are working on as
well. We basically have a "clean" cocoon environment that we copy over,
and then use our local sitemap file that gets delegated to by this one.
Has worked for us.
Irv
Ryan Hoegg wrote:
> Hey all,
>
> I wanted to run my novel usage of map:mount by you all in case I am
> breaking some seemingly unwritten rule.
>
> I have my main sitemap all set up declaring components and such, and
> then in my pipelines I have this:
>
> <map:pipeline>
> <map:match pattern="**">
> <map:mount check-reload="yes" src="isis-sitemap.xmap"
> uri-prefix=""/>
> </map:match>
> </map:pipeline>
>
> Note the uri-prefix. The idea is that I have a sitemap for my
> application that defines the actual application sitemap. I tried it
> and it works. Is there some reason I shouldn't be doing this? All
> the map:mount docs I can find talk about using this for delegating URI
> space to other sitemaps.
>
> --
> Ryan Hoegg
> ISIS Networks
> http://www.isisnetworks.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
RE: Interesting use of map:mount
Posted by Geoff Howard <co...@leverageweb.com>.
Yes, I think. I'm using mod_jk currently in Tomcat. I am
set up to alias all of the hosts together (I think). If you
start having trouble let me know and I'll look more carefully
at what I did.
Geoff
> -----Original Message-----
> From: Ryan Hoegg [mailto:rhoegg@isisnetworks.net]
> Sent: Saturday, March 29, 2003 11:12 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: Interesting use of map:mount
>
>
> OK, so it sounds like a sound idea. What container are you running in?
> If I decided to run in JBoss/Tomcat behind Apache with mod_jk* do you
> think the host matchers would still work? I do all my virtual hosting
> in apache httpd.conf now.
>
> --
> Ryan Hoegg
> ISIS Networks
> http://www.isisnetworks.net
>
> Geoff Howard wrote:
>
> >Not sure what part you were concerned about, but I have been using
> >empty uri-prefix for my setup with no problems. I am doing some
> >virtual host-type things with cocoon, so I have host matchers/selectors
> >in my main sitemap with patterns like *.mydomain.com that mount their
> >particular application with an empty uri-prefix.
> >
> >Geoff
> >
> >
> >
> >>-----Original Message-----
> >>From: Ryan Hoegg [mailto:rhoegg@isisnetworks.net]
> >>Sent: Friday, March 28, 2003 11:43 PM
> >>To: cocoon-users@xml.apache.org
> >>Subject: Interesting use of map:mount
> >>
> >>
> >>Hey all,
> >>
> >>I wanted to run my novel usage of map:mount by you all in case I am
> >>breaking some seemingly unwritten rule.
> >>
> >>I have my main sitemap all set up declaring components and such, and
> >>then in my pipelines I have this:
> >>
> >> <map:pipeline>
> >> <map:match pattern="**">
> >> <map:mount check-reload="yes" src="isis-sitemap.xmap"
> >>uri-prefix=""/>
> >> </map:match>
> >> </map:pipeline>
> >>
> >>Note the uri-prefix. The idea is that I have a sitemap for my
> >>application that defines the actual application sitemap. I
> tried it and
> >>it works. Is there some reason I shouldn't be doing this? All the
> >>map:mount docs I can find talk about using this for delegating
> URI space
> >>to other sitemaps.
> >>
> >>--
> >>Ryan Hoegg
> >>ISIS Networks
> >>http://www.isisnetworks.net
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: Interesting use of map:mount
Posted by Ryan Hoegg <rh...@isisnetworks.net>.
OK, so it sounds like a sound idea. What container are you running in?
If I decided to run in JBoss/Tomcat behind Apache with mod_jk* do you
think the host matchers would still work? I do all my virtual hosting
in apache httpd.conf now.
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
Geoff Howard wrote:
>Not sure what part you were concerned about, but I have been using
>empty uri-prefix for my setup with no problems. I am doing some
>virtual host-type things with cocoon, so I have host matchers/selectors
>in my main sitemap with patterns like *.mydomain.com that mount their
>particular application with an empty uri-prefix.
>
>Geoff
>
>
>
>>-----Original Message-----
>>From: Ryan Hoegg [mailto:rhoegg@isisnetworks.net]
>>Sent: Friday, March 28, 2003 11:43 PM
>>To: cocoon-users@xml.apache.org
>>Subject: Interesting use of map:mount
>>
>>
>>Hey all,
>>
>>I wanted to run my novel usage of map:mount by you all in case I am
>>breaking some seemingly unwritten rule.
>>
>>I have my main sitemap all set up declaring components and such, and
>>then in my pipelines I have this:
>>
>> <map:pipeline>
>> <map:match pattern="**">
>> <map:mount check-reload="yes" src="isis-sitemap.xmap"
>>uri-prefix=""/>
>> </map:match>
>> </map:pipeline>
>>
>>Note the uri-prefix. The idea is that I have a sitemap for my
>>application that defines the actual application sitemap. I tried it and
>>it works. Is there some reason I shouldn't be doing this? All the
>>map:mount docs I can find talk about using this for delegating URI space
>>to other sitemaps.
>>
>>--
>>Ryan Hoegg
>>ISIS Networks
>>http://www.isisnetworks.net
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
RE: Interesting use of map:mount
Posted by Geoff Howard <co...@leverageweb.com>.
Not sure what part you were concerned about, but I have been using
empty uri-prefix for my setup with no problems. I am doing some
virtual host-type things with cocoon, so I have host matchers/selectors
in my main sitemap with patterns like *.mydomain.com that mount their
particular application with an empty uri-prefix.
Geoff
> -----Original Message-----
> From: Ryan Hoegg [mailto:rhoegg@isisnetworks.net]
> Sent: Friday, March 28, 2003 11:43 PM
> To: cocoon-users@xml.apache.org
> Subject: Interesting use of map:mount
>
>
> Hey all,
>
> I wanted to run my novel usage of map:mount by you all in case I am
> breaking some seemingly unwritten rule.
>
> I have my main sitemap all set up declaring components and such, and
> then in my pipelines I have this:
>
> <map:pipeline>
> <map:match pattern="**">
> <map:mount check-reload="yes" src="isis-sitemap.xmap"
> uri-prefix=""/>
> </map:match>
> </map:pipeline>
>
> Note the uri-prefix. The idea is that I have a sitemap for my
> application that defines the actual application sitemap. I tried it and
> it works. Is there some reason I shouldn't be doing this? All the
> map:mount docs I can find talk about using this for delegating URI space
> to other sitemaps.
>
> --
> Ryan Hoegg
> ISIS Networks
> http://www.isisnetworks.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org