not sure. I bet it has something to do with DocRoot in apache.
not an apache expert at all but you did have two docroots
 DocumentRoot /var/www/html
        DocumentRoot /usr/share/tomcat/webapps/examples

and I am not sure that is cool with apache...
try just
 DocumentRoot /var/www/html

I don't think you need the other..


-----Original Message-----
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 10:49 AM
To: 'Tomcat Users List'
Subject: RE: getting mod_webapps to work


Brian,

everything checks OK
but I've lost static pages.
I mean http://sol.lansa.co.uk/
now returns "Forbiden... you have permission / on
this server"
Somehow am baffled that am trying to access /

As for http://sol.lansa.co.uk/examples/jsp
am getting "WebApp error .... Web-application not yet
deployed"

if we talking about the examples JSP stuff, I do have
it and I know it use to run on http://sol.lansa.co.uk:8080/examples/jsp

Dom


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


apachectl check

apachectl restart

$CATALINA_HOME/bin/catalina.sh run


http://sol.lansa.co.uk/examples/jsp

should work if your tomcat examples are install and configured like so in
httpd.conf 
          WebAppDeploy            examples              conn    /example





-----Original Message-----
From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 10:06 AM
To: 'Tomcat Users List'
Subject: RE: getting mod_webapps to work


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]>

--
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]>

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

Reply via email to