tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trm asn <trm.nag...@gmail.com>
Subject Re: Apache+Tomcat+mod_jk
Date Mon, 12 Sep 2011 09:24:23 GMT
On Sun, Sep 11, 2011 at 8:40 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> tRm,
>
> On 9/9/2011 5:52 PM, trm asn wrote:
> > I have one war eample.war & which is also having a images folder (
> > /usr/local/tomcat/webapps/example/images). I will type
> > http://192.168.65.100and it'll load the "example" apps.
>
> If you want http://192.168.65.100/ to load your "examples.war" webapp,
> you should re-name examples.war to ROOT.war (note the capitals are
> important).
>
> > What will be my httpd.conf file syntax that it ll load the image
> > from apache's "/var/www/images" folder not from tomcat.
>
> You can do this with an "Alias".
>
> - -chris
> -
>

I have done that, but still images are coming from tomcat.

Alias /images "/var/www/sc/images"

/\
tRm

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message