cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Makeig <li...@makeig.com>
Subject Re: Setting up cocoon at site root
Date Sat, 28 Jun 2003 00:12:53 GMT
Lajos,
Thanks so much for the quick response. I'm still kind of muddled in the
Tomcat documentation, though.

Here's what I changed in server.xml:

<Host name="localhost" debug="0" appBase="webapps/cocoon"
       unpackWARs="true" autoDeploy="true">

...

<Context path="" docBase="mysite" debug="0"/>

However, when I go to http://localhost/ I get a directory listing of
webapps/cocoon/mysite as generated by Tomcat. How do I tell Tomcat that
there's supposed to be a Cocoon site there?

Thanks again.

- Justin


On 6/27/03 4:52 PM, "Lajos" <lajos@galatea.com> wrote:

> Hi Justin -
> 
> Easy. Make the path for the cocoon <Context> in server.xml "" and
> remove/comment out the ROOT <Context>. If you don't have an entry for
> cocoon in server.xml, then you could even just edit the existing root
> definition and change "ROOT" to "cocoon".
> 
> Regards,
> 
> Lajos
> 
> 
> Justin Makeig wrote:
>> <Question type="newbie">
>> 
>> How do I configure Tomcat 4.1.24 to run Cocoon sites from the site root?
>> For example, right now I'm successfully running a Cocoon site from
>> 
>> http://localhost/cocoon/mysite
>> 
>> However, I would like to to configure Tomcat to run mysite from the request
>> 
>> http://localhost/
>> </Question>
>> 
>> I'm sure it can be done, but I don't see anything in the set up docs. Any
>> help would be much appreciated.
>> 
>> - Justin
>> 
>> 
>> ---------------------------------------------------------------------
>> 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


Mime
View raw message