----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

jon,

Thanks for the hint.  We were able to do the following to restrict the
invocation of Cocoon to port 80:

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

This lets us access the actual source of foo.xml from WebDAV through port
80, while a reference to http://host:8080/foo.xml from a browser causes
Cocoon to perform XSL transformation using foo's stylsheet.

Is there documentation on which JServ directives work as VirtualHost
content, or is more experimentation required?

Thanks,
John

> -----Original Message-----
> From: jon * [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 20, 2000 4:20 PM
> To: Java Apache Users
> Subject: Re: Running JServ from only one virtual host of two
> 
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> on 1/20/00 4:14 PM, Stidd, John <[EMAIL PROTECTED]> wrote:
> 
> > Is there a way to configure Apache to run JServ from only 
> one Virtual Host?
> > The JServ configuration directives such as ApJServManual, 
> ApJServProperties,
> > etc. cannot be stated as content of a <VirtualHost> without 
> causing an error
> > message when httpd.conf is parsed at Apache startup.  On a 
> system with a
> > single virtual host, we have the problem that WebDAV access 
> to file types
> > specified in an ApJServAction directive cause an undesired 
> (and non-working)
> > invocation of JServ during an attempt to copy or otherwise 
> manipulate the
> > file.  We want to send WebDAV and normal browser 
> interactions to different
> > virtual hosts in order to circumvent this.  Thanks for any help.
> 
> Not all ApJServ* directives can be included in a 
> <VirtualHost> directive,
> but the *important* ones can.
> 
> good luck.
> 
> -jon
> 
> -- 
> Come to the first official Apache Software Foundation
> Conference!  <http://ApacheCon.Com/>
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to