thannks the link says

ProxyPassReverse /app1/ http://internal1.example.com/
ProxyPassReverse /app2/ http://internal2.example.com/

and


ProxyPass /app1/ http://internal1.example.com/
ProxyPass /app2/ http://internal2.example.com/


I did used

ProxyPassReverse /spn1.spinterllyy.com
<http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN>/
http://spn1.spinterllyy.com
<http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN>/
ProxyPassReverse /spn2.spinterllyy.com
<http://spn2.spinterllyy.com:50070/webhdfs/v1/Namehome2/terfttb.jpg?=OPEN>/
http://spn2.spinterllyy.com
<http://spn2.spinterllyy.com:50070/webhdfs/v1/Namehome2/terfttb.jpg?=OPEN>/

ProxyPass /spn1.spinterllyy.com
<http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN>/
http://spn1.spinterllyy.com
<http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN>/
ProxyPass /spn2.spinterllyy.com
<http://spn2.spinterllyy.com:50070/webhdfs/v1/Namehome2/terfttb.jpg?=OPEN>/
http://spn2.spinterllyy.com
<http://spn2.spinterllyy.com:50070/webhdfs/v1/Namehome2/terfttb.jpg?=OPEN>/


but still unable to cache my files at

these locations

 http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN
>
> http://spn2.spinterllyy.com:50070/webhdfs/v1/Namehome2/terfttb.jpg?=OPEN


can we directlyy set cache control header for these redirect URLS


in my jsp i use them as

<img src= http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=
<http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN>OPEN
<http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN>>







ProxyPass /app1/ http://internal1.example.com/
ProxyPass /app2/ http://internal2.example.com/






On Tue, Aug 20, 2013 at 9:05 AM, Mark Eggers <mdegg...@gmail.com> wrote:

> On Mon, 19 Aug 2013 16:52:28 +0530, Visioner Sadak wrote:
>
> > ---------- Forwarded message ----------
> > From: Visioner Sadak <visioner.sa...@gmail.com>
> > Date: Mon, Aug 19, 2013 at 4:43 PM Subject: reverse proxy /proxy To:
> > Tomcat Users List <us...@tomcat.apache.org>
> >
> >
> > Hello friends
> >
> > I have some http redirect urls like in my  jsp page
> >
> > http://spn1.spinterllyy.com:50070/webhdfs/v1/Namehome1/terfttb.jpg?=OPEN
> >
> > http://spn2.spinterllyy.com:50070/webhdfs/v1/Namehome2/terfttb.jpg?=OPEN
> >
> > I would like to use reverse proxy on my apache server  so that the
> > contents can be cached and served by apache any hints on how to do this
> >
>
> http://www.apachetutor.org/admin/reverseproxies
>
> For starters.
>
> Also read the appropriate manual pages for your version of Apache HTTPD
> (2.2 or 2.4).
>
> I just did this to embed one web application inside another. The parent
> application is written in PHP (for example), while the meat of the
> application is written in Java and runs on Apache Tomcat 7.0.42.
>
> The only issue that tripped me up was the cookie path. There's a
> configuration directive for that.
>
> . . . . just my two cents.
> /mde/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to