tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: mod_webapp connector on linux - HELP!...
Date Thu, 11 Oct 2001 11:20:09 GMT


with the following configuration we want to force Apache to deliver static
content like gifs and jpegs.

  AddHandler default-handler .gif .jpeg
  WebAppConnection myConnection warp uxdev:8008
  WebAppDeploy fipo myConnection /myapp/

After adding the Add-Handler directive TomCat doesn't deliver the gifs and jpegs
anymore, but Apache either.
The problem seems to be that Apache does't look for the images at the right
place - the error.log says:

  [Thu Oct 11 11:04:15 2001] [error] [client] File does not
exist: /myapp/static/img/c_.gif

And he is right because the webapp directory is at /data/webapp/myapp.
The DocumentRoot at Apache is set correct, as can be seen if any other file is
  [Thu Oct 11 11:05:52 2001] [error] [client] File does not
exist: /data/webapp/jihgiuhgviz

How can we set up Apache+TomCat4+mod_webapp so that Apache delivers images which
 are part of a webapp?

Thanks in advance for any support.

View raw message