You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ke...@bredex.com on 2002/02/25 22:20:16 UTC

How To Mount My WebApp (powered by cocoon)

Can someone point me to a document describing how to mount my own WebApps
(powered by cocoon).  I want to deploy several, but not under the cocoon
heirarchy.

Thank you,

Kevin Ross


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: How To Mount My WebApp (powered by cocoon)

Posted by Andreas Hartmann <t-...@dinobase.de>.
Two additions ...

*********** REPLY SEPARATOR  ***********

On 25.02.2002 at 22:47 Andreas Hartmann wrote:

>*********** REPLY SEPARATOR  ***********
>
>On 25.02.2002 at 15:20 Kevin.Ross@bredex.com wrote:
>
>>Can someone point me to a document describing how to mount my own WebApps
>>(powered by cocoon).  I want to deploy several, but not under the cocoon
>>heirarchy.
>>
>
>Just add a context entry to your tomcat/server.xml file:
It's located at (tomcat-path)/conf/server.xml.

>
>        <!-- Intranet Context -->
>        <Context path="/intranet" docBase="/intranet" debug="0"
>                 reloadable="true" crossContext="true"/>
>

path="/intranet" means: every URI starting with /intranet
(e.g., http://localhost:8080/intranet/index.html is mapped to the Intranet WebApp.

docBase="/intranet" points to the file system path.

Greetings,
Andreas


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: How To Mount My WebApp (powered by cocoon)

Posted by Andreas Hartmann <t-...@dinobase.de>.

*********** REPLY SEPARATOR  ***********

On 25.02.2002 at 15:20 Kevin.Ross@bredex.com wrote:

>Can someone point me to a document describing how to mount my own WebApps
>(powered by cocoon).  I want to deploy several, but not under the cocoon
>heirarchy.
>

Just add a context entry to your tomcat/server.xml file:

        <!-- Intranet Context -->
        <Context path="/intranet" docBase="/intranet" debug="0"
                 reloadable="true" crossContext="true"/>

I use a cocoon-powered intranet application.
Everything from webapps/cocoon is located at /intranet now.

Of course, you have to restart Tomcat :)

Greetings,
Andreas





---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>