Hi Nathan,
I made the request on port 80 by saying
http://hostname:80/
and the apache default page is dispayed ..
does this mean that both apache and tomcat are working fine ..
in what cases does the request is serverd by tomcat ..
how do I access servlets without using the port number ??
Do I have to make changes in web.xml file to include servlet
thanks
Venkatesh
From: "Nathan Brown" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: Basic Doubt
Date: Tue, 22 May 2001 17:46:05 -0700
Venkatesh,
Tomcat listens for activity on several ports (depending on how you
configure it). The ports of most concert are:
8080 Http Request Handler
&
8007 Ajp12 Connection Handler
Depending on the Apache module you use (JServe or mod_JK)will dictate
which port the connection will pass through. But if you make a request
directly to 8080 it will be Tomcat that answers, not Apache.
Try making the same request on port 80 and see what happens.
If Apache gives you a 404, then I would guess you don't have the Apache
module installed correctly.
Make sure you have either jserve or mod_jk installed in the apache
module directory and that you have added something to the effect of:
include /usr/local/tomcat/conf/mod_jk.conf
or the equivalent for your os and install path.
Hope that helps,
Nathan
-----Original Message-----
From: Venkatesh Sangam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 4:51 PM
To: [EMAIL PROTECTED]
Subject: Basic Doubt
Hi,
I am using Apache with Tomcat ..
how are the requests shared between apache and Tomcat ..
If I access the servlet as http://Hostname:8080/servlet/Servletname
..will
the request be served by tomcat or Apache ..
In what cases the request is served by Apache
thnaks
Venkatesh
________________________________________________________________________
_
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.