On Sun, Sep 23, 2001 at 04:42:10PM +0100, Jeremy Quinn wrote:
> Hi
> 
> 
> I am trying to get TomCat 4.0 and Cocoon 2.1b to run behind Apache 1.3.
[..]
> 
> I get an 'Invalid virtual host name' error on line 4, ie. the line trying
> to set up the 'examples' context.
> 
> Can anyone suggest what I am doing wrong?

The WebAppDeploy bit must be inside a <VirtualHost> tag. Can't remember
where I read this.. anyway, this is what I appended to my httpd.conf:

LoadModule webapp_module /usr/lib/apache/1.3/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
<VirtualHost localhost>
  DocumentRoot /home/jeff/public_html
  ServerName localhost
  WebAppDeploy examples warpConnection /examples/
</VirtualHost>


That fixed the "Invalid virtual host name" error. I then restarted
everything, and found I was getting these errors on catalina.out:

java.io.IOException: Premature packet header end

At this point I gave up ;P It's beta code, after all..

Good luck

--Jeff

> regards Jeremy

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to