You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Phil Shrimpton <ph...@shrimpton.co.uk> on 2002/02/27 10:57:16 UTC

Re: Apache does not load images!!

On Wednesday 27 February 2002 10:39, Eswar.K wrote:

Hi,

> tomcat has been integrated with apache with mod_jk.  When I send a request
> directly to tomcat(post 8080), all the images are loaded appropriately, but
> when i am sending a requet to apache(port 80), few images are not being
> loaded. What should be done to avoid such a problem?

I had the same problem.  What is was, was that the URI I was using for the 
imgaes was

/images/myimage.gif

Which when used via Apache/mod_jk were being request from Apache's doument 
root.

Changing the URI to...

images/myimage.gif  (no initial slash)

Fixed the problem

Phil


-- 
Linux 2.4.4-4GB
  9:55am  up  2:27,  1 user,  load average: 0.20, 0.47, 0.41

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>