cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corda, Ugo" <>
Subject RE: modDAV incompatibility with Cocoon?
Date Fri, 21 Jan 2000 21:01:38 GMT
My colleague John Stidd just set up two Apache virtual hosts (same Apache
instance) listening to two different ports (80 for WebDAV, and 8080 for
Cocoon). It seems to work just fine for both Cocoon and WebDAV operating on
the same xml file. The httpd.conf file was changed by adding the following

Listen 80
Listen 8080
<VirtualHost IPaddr:8080>
ApJServAction .xml /servlets/org.apache.cocoon.Cocoon

In this configuration, Cocoon requests only need to specify the 8080 port
number in the URL. No special setting is required for WebDAV on the client

Apache also supports separate virtual hosts with different host names, in
addition to virtual hosts with different port numbers, but we thought that
having different host names would be more disrupting from the point of view
of name services, etc.

I am glad that Cocoon can work with WebDAV running at the same time, since
WebDAV might be a preferred method for authors to submit new documents to
the Cocoon publishing environment and to manage existing documents. 

It is still not clear to me, though, what would happen if the server was
some other servlet-enabled HTTP server without Apache's virtual hosts

		-----Original Message-----
		From:	Corda, Ugo []
		Sent:	January 21, 2000 9:05 AM
		To:	'Stefano Mazzocchi'; ''
		Cc:	Stidd, John
		Subject:	RE: modDAV incompatibility with Cocoon?

		I imagine you would have to specify which port you want to
use in the URLs
		associated with the two types of requests.

		I also ran my original question through the
list (Apache
		mod_dav) and somebody came up with the alternative solution
of using two
		Apache virtual hosts on the same Apache instance, instead of
two instances
		of Apache associated with different ports. With this
approach the two
		different type of requests for the same xml file would use a
different host
		name. If it works I'll let this list know.


				-----Original Message-----
				From:	Stefano Mazzocchi
				Sent:	January 21, 2000 3:44 AM
				Subject:	Re: modDAV incompatibility
with Cocoon?

				Jeremy Quinn wrote:
				> On 20/1/00 at 12:45 am,
		Mazzocchi) wrote:
				> >> It looks like Apache's modDAV has
problems dealing with
		xml files when
				> >> Cocoon 1.5 is activated. Errors are
generated when
		trying to operate on an
				> >> xml file from a remote WebDAV client
like IE5.0.
				> >
				> >Uh, probably because all .xml requests
are handled by
		Cocoon which does
				> >not understand WebDAV headers.
				> Just a suggestion ....
				> Can you run one of the servers on a
different port?

				Hmmmm, yeah, maybe. I admit I'm not that
		guru...anyway, I don't
				know if M$ WebDAV clients are smart enough
to understand
		that you can
				have the web site on a port and the webdav
server on
		another, accessing
				the same files from a different


				Stefano Mazzocchi      One must still have
chaos in oneself
		to be
				                          able to give birth
to a dancing
				 Come to the first official Apache Software

View raw message