If I understood your question correctly, you're asking why Apache doesn't
like the WebApp directives?
My guess would be that the directives for WebAppConnection and Deploy need
to come last after the ServerName directive. You also need to change
"localhost:8008" to jakarta.domain.com:8008 or whatever you call your
virtualHost. If you think about it, you can't tell mod_WebApp to listen for
a server that hasn't been named yet!

John

> -----Original Message-----
> From: chad kellerman [mailto:[EMAIL PROTECTED]]
> Sent: 07 February 2002 20:24
> To: [EMAIL PROTECTED]
> Subject: I'm stuck. Apache-tom4.0 virtual hosts
> 
> 
> Hey guys,
> 
>     I am stuck again.  This time with the virtual host 
> section in apache.  Here is what I got:
> 
>  <VirtualHost jakarta.domain.com>
> WebAppConnection warpConnection warp localhost:8008
> WebAppDeploy examples warpConnection /home/jak/jakarta-www/examples/
> User jak
> Group jakartagrp
> ServerName jakarta.domain.com
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /home/jak/jakarta-www
> TransferLog /home/jak/jakarta-logs/access-log
> ScriptAlias /cgi-bin/ /home/jak/jakarta-www/cgi-bin/
> </VirtualHost>
> 
> an /etc/httpd/bin/apachectl configtest says it does not like
> 
> WebAppDeploy examples warpConnection /home/jak/jakarta-www/examples/
> 
> 
>       I am trying to get tomcat working with multiple virtual hosts.
> 
> I have the module loading fine.  But I haven't found how to 
> configure httpd.conf for tomcat as well as the server.xml file.
> 
>      Anyone get this working properly?  I on red hat.  But I 
> would think the config should be similar on other os's..
> 
> Thanks for the info,
> 
> Chad
 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to