You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mm...@advance-bank.de on 2001/10/11 13:20:09 UTC
Re: mod_webapp connector on linux - HELP!...
Hi,
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 185.25.100.208] 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
requested:
[Thu Oct 11 11:05:52 2001] [error] [client 185.25.100.208] 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.