You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Flynn <pf...@ucc.ie> on 2005/12/08 13:26:26 UTC
Making Cocoon the default
The FAQ about making Cocoon the default app doesn't seem to
correspond with the content of server.xml in Tomcat 5.5.12
(there is no <context> element) as it has only been tested
with Tomcat 4.0.1 + Cocoon 2.0.2. I have Tomcat 5.5.12 and
Cocoon 2.1.8
There *is* a <Context> element in context.xml, but applying
the attributes suggested by the FAQ just crashes Tomcat.
I don't have an "application" -- at this stage I just built
the default war for testing, and moved cocoon.war into
Tomcat's webapps folder, where it works just fine with the
default setup, which I have running on port 80 as the sole
server (no httpd). But I do want to get rid of the /cocoon/ in all URIs
because on this server, *everything* will be
served from Cocoon.
///Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Making Cocoon the default
Posted by Peter Flynn <pf...@ucc.ie>.
On Thu, 2005-12-08 at 12:59, Edwin Kapauni wrote:
> Peter Flynn wrote:
> > The FAQ about making Cocoon the default app doesn't seem to
>
> have a look at
> <http://wiki.apache.org/cocoon/CocoonEasyInstallation>
>
> If you don't want to default
>
> http://cocoon:8080/
>
> then simply replace
>
> $tomcat_home/webapps/ROOT/
>
> and rename your new default webapp to become ROOT.
Thank you! I knew there had to be an easy way.
///Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Making Cocoon the default
Posted by Edwin Kapauni <ed...@arcor.de>.
Peter Flynn wrote:
> The FAQ about making Cocoon the default app doesn't seem to
have a look at
<http://wiki.apache.org/cocoon/CocoonEasyInstallation>
If you don't want to default
http://cocoon:8080/
then simply replace
$tomcat_home/webapps/ROOT/
and rename your new default webapp to become ROOT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Making Cocoon the default
Posted by Christoph Hermann <ch...@guschtel.de>.
Peter Flynn schrieb:
Hello,
> I don't have an "application" -- at this stage I just built
> the default war for testing, and moved cocoon.war into
> Tomcat's webapps folder, where it works just fine with the
> default setup, which I have running on port 80 as the sole
> server (no httpd). But I do want to get rid of the /cocoon/ in all URIs
> because on this server, *everything* will be
> served from Cocoon.
Just set the Context Path to "".
Then Cocoon should get the default context.
http://tomcat.apache.org/tomcat-5.0-doc/config/context.html
HTH
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org