httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Visioner Sadak <visioner.sa...@gmail.com>
Subject Re: [users@httpd] Re: Fwd: reverse proxy /proxy
Date Tue, 20 Aug 2013 10:03:03 GMT
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 <mdeggers@gmail.com> wrote:

> On Mon, 19 Aug 2013 16:52:28 +0530, Visioner Sadak wrote:
>
> > ---------- Forwarded message ----------
> > From: Visioner Sadak <visioner.sadak@gmail.com>
> > Date: Mon, Aug 19, 2013 at 4:43 PM Subject: reverse proxy /proxy To:
> > Tomcat Users List <users@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message