Cheers Brian,

How do test that it works?

Dom

-----Original Message-----
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2001 15:35
To: 'Tomcat Users List'
Subject: RE: getting mod_webapps to work


why are you doing   ServerName sol.lansa.co.uk:8080/test?
why not   ServerName sol.lansa.co.uk
or   ServerName sol.lansa.co.uk/test
the warp connector has nothing to do with 8080, that is an Apache config
thing.
Warp has had some problems in windows but I have it working in Linux RH6-7.1

try this:

NameVirtualHost 192.168.0.247

<VirtualHost 192.168.0.247>
        ServerName sol.lansa.co.uk
        DocumentRoot /var/www/html
        DocumentRoot /usr/share/tomcat/webapps/examples
        WebAppConnection        conn            Warp localhost:8008
        WebAppDeploy            test            conn   /test 
#use examples for the Tomcat examples
          WebAppDeploy            examples              conn    /example
</VirtualHost>
 






-----Original Message-----
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 8:17 AM
To: [EMAIL PROTECTED]
Subject: getting mod_webapps to work


I've managed to so far to figure out how
to add in the WebAppcConnection ....
in my httpd.conf (or I think so) so
httpd doesn't complain anymore when
am reloading it, yet it still doesn't seem
to work.
 
Here is what I've got in my httpd.conf:
 
#Name based virtual hosts directives
 
NameVirtualHost 192.168.0.247

<VirtualHost 192.168.0.247>
        ServerName sol.lansa.co.uk
        DocumentRoot /var/www/html
</VirtualHost>
 
#tomcat webapps directive
 
<VirtualHost 192.168.0.247>
        ServerName sol.lansa.co.uk:8080/test
        DocumentRoot /usr/share/tomcat/webapps/examples
        WebAppConnection        conn            Warp    localhost:8008
        WebAppDeploy            test            conn    /examples
</VirtualHost>

What am I doing wrong? Can anyone show me a "typical example"
config?

As well am not too happy about having to specify port 8080
and I still want to serve static page on port 80. How would
I redirect something like:
http://sol.lansa.co.uk/test <http://sol.lansa.co.uk/test> 
to tomcat?

Thanks for any help.

Dom
Dominique Cressatti
Newlook/PC/Network support
LANSA Ltd

 

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

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

Reply via email to