The apache access logs can tell you how long it took for a request to be served. All requests (whether they live in tomcat or not) are served by apache. So you'll need to check your access logs on the tomcat instance to see if only jsp's (or servlets are showing up) are being served by tomcat. If image requests are appearing in the tomcat logs - then tomcat is serving images. (Meaning apache is probably forwarding all requests to tomcat, which is inefficient)
Kapil Sharma wrote: > Hi, > Well I can see the images and pages request in apache access log. But it > shows request for .jsp as well as images file. So I am still confused > whether the images are served by tomcat or apache? > > Cheers > kapil > > -----Original Message----- > From: David Kavanagh [mailto:[EMAIL PROTECTED]] > Sent: 07 July 2002 17:07 > To: Tomcat Users List > Subject: Re: Tomcat and static content > > > Kapil, > You could look at the apache access log. It will tell when an image has > been served. There is now way (that I know of) to configure apache to > trap all image requests that would be handled by a tomcat context. Is > that what you are trying to do? If so, your web app needs to use paths > that are not within the web app context. You can set up aliases within > httpd.conf to make it easier to link images from the web app to some > convenient path on your httpd server. > > Hope this helps. > > David > > Kapil Sharma wrote: > > >>Can someone answer it please... >> >>kapil >> >>-----Original Message----- >>From: Kapil Sharma [mailto:[EMAIL PROTECTED]] >>Sent: 07 July 2002 00:03 >>To: 'Tomcat Users List' >>Subject: Tomcat and static content >> >> >>Hi, >>I have got a problem. I am using apache 1.3.26+tomcat 1.3.1. Is there >>any way to know that apache is serving all static content like >>.html/.gif/.jpeg? My virtual host (in apache) is running very slow and >>images are breaking.. >> >>Please help? >> >>Cheers >>kapil >> >> >> >>-- >>To unsubscribe, e-mail: >><mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: >><mailto:[EMAIL PROTECTED]> >> >> >> >> >>-- >>To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: >><mailto:[EMAIL PROTECTED]> >> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
