You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Cressatti, Dominique" <Do...@lansa.co.uk> on 2001/12/21 15:16:58 UTC

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