You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by flourish <co...@dork.com> on 2001/05/05 04:07:16 UTC

[C2] basic C2 serving questions

    These seem like really basic questions, but I can't make sense of it.
Is there any reason to serve cocoon through apache?  Can I serve cocoon
through apache?  How can I adjust where the map/document root is?
Thanks.


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by flourish <co...@dork.com>.
> While Cocoon 2's default is to map "/" to go to Cocoon (so that context
root
> and everything after that is mapped to Cocoon's location), you are not
> *required* to do that.
    Is apache's document root cocoon's document root once the request is
passed along?  So does an apache request for "/inbox/read.xml" apear as
"/inbox/read.xml" in terms of cocoon's document root, or as "/read.xml"?

> more things like "*.wap" or "*.vrml", then Cocoon can handle that.
However,
> you do lose out on some of the cool benefits of Cocoon such as browser
type
> detection so that the same URL can be accessed ("/webbapp/inbox") and it
> will be rendered automagically in the proper format.
    Why can't you use the media type after passing the document through
apache?


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Donald Ball <ba...@webslingerZ.com>.
On Mon, 7 May 2001, Uli Mayring wrote:

> > > So, *.xml goes to Tomcat, *.html remains with Apache, for example. The
> > > Sitemap would be more useful if it ran inside the webserver.
> >
> > Maybe so, but then we would have to create Cocoon plugins for every web server.
>
> How about just for Apache? It's your own product (in the sense of Cocoon
> and Apache both being ASF projects), so you might want to have
> interoperability.

we do interoperate with apache httpd. apache httpd can easily be
configured to pass a certain urlspace on to a servlet container (e.g.
tomcat), which invokes cocoon on it.

> > If you know that all your HTML is going to be generated, but all your images
> > are read from disk, you can map "*.html" to Cocoon.  If you wanted to map
> > more things like "*.wap" or "*.vrml", then Cocoon can handle that.  However,
> > you do lose out on some of the cool benefits of Cocoon such as browser type
> > detection so that the same URL can be accessed ("/webbapp/inbox") and it
> > will be rendered automagically in the proper format.
>
> What do I do, when I know that some of my HTML is static and some is
> generated by Cocoon? I mean, this is not a castle-in-the-sky situation,
> but THE most common real-world scenario. It would be cool if I could use
> the sitemap on the webserver, shall I give you more examples? :)

then just have cocoon set up to serve the rest of the HTML via readers.
it's quite fast.

- donald


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Uli Mayring <ul...@denic.de>.
On Mon, 7 May 2001, Berin Loritsch wrote:

> Uli Mayring wrote:
> > 
> > So, *.xml goes to Tomcat, *.html remains with Apache, for example. The
> > Sitemap would be more useful if it ran inside the webserver.
> 
> Maybe so, but then we would have to create Cocoon plugins for every web server.

How about just for Apache? It's your own product (in the sense of Cocoon 
and Apache both being ASF projects), so you might want to have
interoperability.

> If you know that all your HTML is going to be generated, but all your images
> are read from disk, you can map "*.html" to Cocoon.  If you wanted to map
> more things like "*.wap" or "*.vrml", then Cocoon can handle that.  However,
> you do lose out on some of the cool benefits of Cocoon such as browser type
> detection so that the same URL can be accessed ("/webbapp/inbox") and it
> will be rendered automagically in the proper format.

What do I do, when I know that some of my HTML is static and some is
generated by Cocoon? I mean, this is not a castle-in-the-sky situation,
but THE most common real-world scenario. It would be cool if I could use
the sitemap on the webserver, shall I give you more examples? :)

> In the end, Cocoon 2 is still a servlet.

That's news to me. Several months ago I asked whether C2 will be a servlet
or an Avalon block or something else or everything. At that time the
answer was that things weren't clear yet. So I take it that the decision
has been made for C2 to be a servlet. Is it also an Avalon block now?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Berin Loritsch <bl...@apache.org>.
Uli Mayring wrote:
> 
> On Mon, 7 May 2001, giacomo wrote:
> 
> > > And how does Apache know which requests are intended for Tomcat?
> >
> > It's very well documented in the documentation that comes with tomcat.

<snip/>

> So, *.xml goes to Tomcat, *.html remains with Apache, for example. The
> Sitemap would be more useful if it ran inside the webserver.

Maybe so, but then we would have to create Cocoon plugins for every web server.
It's not very practical.  Basically, If you hook Tomcat to Apache the
way it is documented in Tomcat, Tomcat handles the Servlet specific
aspects (e.g. what to map to Cocoon).

While Cocoon 2's default is to map "/" to go to Cocoon (so that context root
and everything after that is mapped to Cocoon's location), you are not
*required* to do that.

If you know that all your HTML is going to be generated, but all your images
are read from disk, you can map "*.html" to Cocoon.  If you wanted to map
more things like "*.wap" or "*.vrml", then Cocoon can handle that.  However,
you do lose out on some of the cool benefits of Cocoon such as browser type
detection so that the same URL can be accessed ("/webbapp/inbox") and it
will be rendered automagically in the proper format.

In the end, Cocoon 2 is still a servlet.

---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by giacomo <gi...@apache.org>.

On Mon, 7 May 2001, Uli Mayring wrote:

> On Mon, 7 May 2001, giacomo wrote:
>
> > > And how does Apache know which requests are intended for Tomcat?
> >
> > It's very well documented in the documentation that comes with tomcat.
>
> I know, my question was meant differently. The original poster said that
> in C1 he told Apache to send .xml files to Tomcat (and from there to
> Cocoon) and he wondered how to do that in C2. To that you answered: use
> the Sitemap. But that doesn't answer the question, which should probably
> be asked like this:
>
> How can I make use of the Sitemap features, when Apache knows nothing
> about it? In C1 you had to make the decision "Cocoon or no Cocoon" in
> Apache - and in C2 this is the same thing. The Sitemap doesn't really help
> here, you have to send all requests, that could possibly be for Cocoon, to
> Tomcat.

Yes exactly. Cocoon 2 isn't a handler for an extension like
Cocoon 1 was. It is a
normal servlet controlling it's own URI space mounted from
Apache
(the JkMount directive in Apache) to the Tomcat context of Cocoon 2.

> So, *.xml goes to Tomcat, *.html remains with Apache, for example. The
> Sitemap would be more useful if it ran inside the webserver.

Well, Tomcat is a web server, and the sitemap runs in it very well :)

Giacomo


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Per Bothner <pe...@bothner.com>.
Allan Erskine <a....@cs.ucl.ac.uk> writes:

> Has anyone ever considered adding Kawa support to IBM's Bean Scripting
> Framework (www.alphaworks.ibm.com/tech/bsf)?

I have thought about it, but I never managed to set aside the time
to do it myself.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/

---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Allan Erskine <a....@cs.ucl.ac.uk>.
Hi all,

Has anyone ever considered adding Kawa support to IBM's Bean Scripting
Framework (www.alphaworks.ibm.com/tech/bsf)?

Allan



> -----Original Message-----
> From: Uli Mayring [mailto:ulim@denic.de]
> Sent: 07 May 2001 21:25
> To: cocoon-users@xml.apache.org
> Subject: Re: [C2] basic C2 serving questions
>
>
> On Mon, 7 May 2001, giacomo wrote:
>
> > > And how does Apache know which requests are intended for Tomcat?
> >
> > It's very well documented in the documentation that comes
> with tomcat.
>
> I know, my question was meant differently. The original
> poster said that
> in C1 he told Apache to send .xml files to Tomcat (and from there to
> Cocoon) and he wondered how to do that in C2. To that you
> answered: use
> the Sitemap. But that doesn't answer the question, which
> should probably
> be asked like this:
>
> How can I make use of the Sitemap features, when Apache knows nothing
> about it? In C1 you had to make the decision "Cocoon or no Cocoon" in
> Apache - and in C2 this is the same thing. The Sitemap
> doesn't really help
> here, you have to send all requests, that could possibly be
> for Cocoon, to
> Tomcat.
>
> So, *.xml goes to Tomcat, *.html remains with Apache, for example. The
> Sitemap would be more useful if it ran inside the webserver.
>
> Ulrich
>
> --
> Ulrich Mayring
> DENIC eG, Softwareentwicklung
>
>
> ---------------------------------------------------------------------
> 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>
>


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Uli Mayring <ul...@denic.de>.
On Mon, 7 May 2001, giacomo wrote:

> > And how does Apache know which requests are intended for Tomcat?
> 
> It's very well documented in the documentation that comes with tomcat.

I know, my question was meant differently. The original poster said that
in C1 he told Apache to send .xml files to Tomcat (and from there to
Cocoon) and he wondered how to do that in C2. To that you answered: use
the Sitemap. But that doesn't answer the question, which should probably
be asked like this:

How can I make use of the Sitemap features, when Apache knows nothing
about it? In C1 you had to make the decision "Cocoon or no Cocoon" in
Apache - and in C2 this is the same thing. The Sitemap doesn't really help
here, you have to send all requests, that could possibly be for Cocoon, to
Tomcat.

So, *.xml goes to Tomcat, *.html remains with Apache, for example. The
Sitemap would be more useful if it ran inside the webserver.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by giacomo <gi...@apache.org>.

On Mon, 7 May 2001, Uli Mayring wrote:

> On Sat, 5 May 2001, giacomo wrote:
>
> >
> >
> > On Sat, 5 May 2001, flourish wrote:
> >
> > > That makes sense in terms of tomcat, but how does apache need to treat the
> > > requests?
> >
> > Simply pass it to tomcat.
>
> And how does Apache know which requests are intended for Tomcat?

It's very well documented in the documentation that comes with tomcat.

Giacomo


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Uli Mayring <ul...@denic.de>.
On Sat, 5 May 2001, giacomo wrote:

> 
> 
> On Sat, 5 May 2001, flourish wrote:
> 
> > That makes sense in terms of tomcat, but how does apache need to treat the
> > requests?
> 
> Simply pass it to tomcat.

And how does Apache know which requests are intended for Tomcat?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by giacomo <gi...@apache.org>.

On Sat, 5 May 2001, flourish wrote:

> That makes sense in terms of tomcat, but how does apache need to treat the
> requests?

Simply pass it to tomcat.

Giacomo

>
> ----- Original Message -----
> From: "giacomo" <gi...@apache.org>
> To: <co...@xml.apache.org>
> Cc: <sl...@pmi.at>
> Sent: Saturday, May 05, 2001 2:13 PM
> Subject: Re: [C2] basic C2 serving questions
>
>
> >
> >
> > On Sat, 5 May 2001, flourish wrote:
> >
> > > I know how to setup apache to send requests to Tomcat.  In setting up
> > > Cocoon1, I sent all the .xml requests sent to apache to the cocoon
> module in
> > > tomcat.  This doesn't seem to make much sense in Cocoon2, with respect
> to
> > > the sitemap.  Should I setup my apache document root at the root of the
> > > cocoon servlet?  This isn't really a technical question.
> >
> > I doesn't have to be the document root. While Cocoon1 controls an
> > extension (normally .xml) Cocoon2 controls an URI space. It dosn't
> > matter to Cocoon2 which URI space you give him (it depends mainly how
> > you name the servlet context you use to deploy Cocoon2). But then every
> > URL starting with the URI spacce given to Cocoon2 is controlled by
> > Cocoon2.
> >
> > Giacomo
> >
> > >
> > > Matt
> > >
> > > ----- Original Message -----
> > > From: "Stefan Lettmayer" <sl...@sharkman5.2y.net>
> > > To: <co...@xml.apache.org>
> > > Sent: Saturday, May 05, 2001 5:20 AM
> > > Subject: Re: [C2] basic C2 serving questions
> > >
> > >
> > > > Check out mod_jk for apache.
> > > >
> > > > A howto is available from here:
> > > >
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
> > > >
> > > >
> > > > On Fri, May 04, 2001 at 10:07:16PM -0400, flourish wrote:
> > > > >     These seem like really basic questions, but I can't make sense
> of
> > > it.
> > > > > Is there any reason to serve cocoon through apache?  Can I serve
> cocoon
> > > > > through apache?  How can I adjust where the map/document root is?
> > > > > Thanks.
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > 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>
> > > > >
> > > >
> > > > --
> > > > Stefan Lettmayer
> > > > Web: http://sharkman5.2y.net/
> > > > ICQ: 67167870
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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>
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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>
> > >
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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>
> >
> >
>
>
> ---------------------------------------------------------------------
> 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>
>
>
>
>


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by flourish <co...@dork.com>.
That makes sense in terms of tomcat, but how does apache need to treat the
requests?

----- Original Message -----
From: "giacomo" <gi...@apache.org>
To: <co...@xml.apache.org>
Cc: <sl...@pmi.at>
Sent: Saturday, May 05, 2001 2:13 PM
Subject: Re: [C2] basic C2 serving questions


>
>
> On Sat, 5 May 2001, flourish wrote:
>
> > I know how to setup apache to send requests to Tomcat.  In setting up
> > Cocoon1, I sent all the .xml requests sent to apache to the cocoon
module in
> > tomcat.  This doesn't seem to make much sense in Cocoon2, with respect
to
> > the sitemap.  Should I setup my apache document root at the root of the
> > cocoon servlet?  This isn't really a technical question.
>
> I doesn't have to be the document root. While Cocoon1 controls an
> extension (normally .xml) Cocoon2 controls an URI space. It dosn't
> matter to Cocoon2 which URI space you give him (it depends mainly how
> you name the servlet context you use to deploy Cocoon2). But then every
> URL starting with the URI spacce given to Cocoon2 is controlled by
> Cocoon2.
>
> Giacomo
>
> >
> > Matt
> >
> > ----- Original Message -----
> > From: "Stefan Lettmayer" <sl...@sharkman5.2y.net>
> > To: <co...@xml.apache.org>
> > Sent: Saturday, May 05, 2001 5:20 AM
> > Subject: Re: [C2] basic C2 serving questions
> >
> >
> > > Check out mod_jk for apache.
> > >
> > > A howto is available from here:
> > >
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
> > >
> > >
> > > On Fri, May 04, 2001 at 10:07:16PM -0400, flourish wrote:
> > > >     These seem like really basic questions, but I can't make sense
of
> > it.
> > > > Is there any reason to serve cocoon through apache?  Can I serve
cocoon
> > > > through apache?  How can I adjust where the map/document root is?
> > > > Thanks.
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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>
> > > >
> > >
> > > --
> > > Stefan Lettmayer
> > > Web: http://sharkman5.2y.net/
> > > ICQ: 67167870
> > >
> > > ---------------------------------------------------------------------
> > > 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>
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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>
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> 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>
>
>


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by giacomo <gi...@apache.org>.

On Sat, 5 May 2001, flourish wrote:

> I know how to setup apache to send requests to Tomcat.  In setting up
> Cocoon1, I sent all the .xml requests sent to apache to the cocoon module in
> tomcat.  This doesn't seem to make much sense in Cocoon2, with respect to
> the sitemap.  Should I setup my apache document root at the root of the
> cocoon servlet?  This isn't really a technical question.

I doesn't have to be the document root. While Cocoon1 controls an
extension (normally .xml) Cocoon2 controls an URI space. It dosn't
matter to Cocoon2 which URI space you give him (it depends mainly how
you name the servlet context you use to deploy Cocoon2). But then every
URL starting with the URI spacce given to Cocoon2 is controlled by
Cocoon2.

Giacomo

>
> Matt
>
> ----- Original Message -----
> From: "Stefan Lettmayer" <sl...@sharkman5.2y.net>
> To: <co...@xml.apache.org>
> Sent: Saturday, May 05, 2001 5:20 AM
> Subject: Re: [C2] basic C2 serving questions
>
>
> > Check out mod_jk for apache.
> >
> > A howto is available from here:
> > http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
> >
> >
> > On Fri, May 04, 2001 at 10:07:16PM -0400, flourish wrote:
> > >     These seem like really basic questions, but I can't make sense of
> it.
> > > Is there any reason to serve cocoon through apache?  Can I serve cocoon
> > > through apache?  How can I adjust where the map/document root is?
> > > Thanks.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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>
> > >
> >
> > --
> > Stefan Lettmayer
> > Web: http://sharkman5.2y.net/
> > ICQ: 67167870
> >
> > ---------------------------------------------------------------------
> > 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>
> >
> >
>
>
> ---------------------------------------------------------------------
> 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>
>
>
>
>


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by flourish <co...@dork.com>.
I know how to setup apache to send requests to Tomcat.  In setting up
Cocoon1, I sent all the .xml requests sent to apache to the cocoon module in
tomcat.  This doesn't seem to make much sense in Cocoon2, with respect to
the sitemap.  Should I setup my apache document root at the root of the
cocoon servlet?  This isn't really a technical question.

Matt

----- Original Message -----
From: "Stefan Lettmayer" <sl...@sharkman5.2y.net>
To: <co...@xml.apache.org>
Sent: Saturday, May 05, 2001 5:20 AM
Subject: Re: [C2] basic C2 serving questions


> Check out mod_jk for apache.
>
> A howto is available from here:
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
>
>
> On Fri, May 04, 2001 at 10:07:16PM -0400, flourish wrote:
> >     These seem like really basic questions, but I can't make sense of
it.
> > Is there any reason to serve cocoon through apache?  Can I serve cocoon
> > through apache?  How can I adjust where the map/document root is?
> > Thanks.
> >
> >
> > ---------------------------------------------------------------------
> > 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>
> >
>
> --
> Stefan Lettmayer
> Web: http://sharkman5.2y.net/
> ICQ: 67167870
>
> ---------------------------------------------------------------------
> 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>
>
>


---------------------------------------------------------------------
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: [C2] basic C2 serving questions

Posted by Stefan Lettmayer <sl...@twix.sharkman5.2y.net>.
Check out mod_jk for apache.

A howto is available from here:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html


On Fri, May 04, 2001 at 10:07:16PM -0400, flourish wrote:
>     These seem like really basic questions, but I can't make sense of it.
> Is there any reason to serve cocoon through apache?  Can I serve cocoon
> through apache?  How can I adjust where the map/document root is?
> Thanks.
> 
> 
> ---------------------------------------------------------------------
> 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>
> 

-- 
Stefan Lettmayer
Web: http://sharkman5.2y.net/
ICQ: 67167870

---------------------------------------------------------------------
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>