Hi
I am trying to get TomCat 4.0 and Cocoon 2.1b to run behind Apache 1.3.
I am trying this on MacOSX, and have downloaded installed and made
executable the (very conveniently pre-compiled) mod_webapp.so for my OS.
I have not edited the main httpd.conf file, I have mine in
/usr/libexec/httpd/users/tomcat.conf, it is automatically loaded by the
main one.
My conf file looks like this:
LoadModule webapp_module libexec/httpd/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples
WebAppDeploy cocoon conn /cocoon
WebAppDeploy ROOT conn /
When I run:
apachectl configtest
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?
BTW. I am trying (ideally) to use the ROOT context of TomCat for Cocoon2
and have several separate sites within it as sub-sitemaps, so I can avoid
using mod-rewrite as is suggested in the Cocoon 2 FAQ, should this be
possible?
Thanks for any help
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<mailto:[EMAIL PROTECTED]> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pager:[EMAIL PROTECTED]>
---------------------------------------------------------------------
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]>