Re: ProxyPassReverse problem inside <Location> -- is there a fix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To recap, it seems the fix for ProxyPassReverse inside <Location> is not working (at least, in Apache 2.0.59).  Details are below.  Does anyone have any information otherwise, or shall I submit a bug report?  (And if you've gotten it to work, I'd appreciate your pointing-out what is wrong with my configuration.  Thanks in advance!)

Scott

--- On Fri, 6/13/08, Scott Jorgenson <dscottjorgenson@xxxxxxxxx> wrote:

> From: Scott Jorgenson <dscottjorgenson@xxxxxxxxx>
> Subject: Re:  ProxyPassReverse problem inside <Location> -- is there a fix?
> To: users@xxxxxxxxxxxxxxxx
> Date: Friday, June 13, 2008, 5:00 PM
> Thanks for the info, Nick.
> 
> Strangely, I'm using 2.0.59 and am quite sure I'm
> encountering exactly that old problem.  My configuration is
> like this:
> 
> <Location /abc>
>     ProxyPass http://my-server.example.com/some-path
>     ProxyPassReverse http://my-server.example.com/some-path
> </Location>
> <Location /def>
>     ProxyPass http://my-server.example.com/some-path
>     ProxyPassReverse http://my-server.example.com/some-path
> </Location>
> 
> When my browser requests
> http://my-proxy.example.com/abc/something, mod_proxy passes
> this through to my-server as expected; and when my-server
> redirects to
> http://my-server.example.com/some-path/something-else, my
> browser gets redirected to
> http://my-proxy.example.com/abc/something-else.  Good so
> far.  But when I repeat the same scenario, with my browser
> instead requesting the /def location
> (http://my-proxy.example.com/def/something), it still gets
> redirected to the /abc location
> (http://my-proxy.example.com/abc/something-else) instead of
> the /def location.  So it seems to be exactly what was being
> described in that original problem report.
> 
> Is there something I needed to do in the configuration, to
> enable that fix?  If you have any ideas, I would very much
> appreciate it :-)  !
> 
> Scott
> 
> --- On Fri, 6/13/08, Nick Kew <nick@xxxxxxxxxxxx>
> wrote:
> 
> > From: Nick Kew <nick@xxxxxxxxxxxx>
> > Subject: Re:  ProxyPassReverse problem
> inside <Location> -- is there a fix?
> > To: users@xxxxxxxxxxxxxxxx
> > Date: Friday, June 13, 2008, 3:47 PM
> > On Fri, 13 Jun 2008 14:27:28 -0700 (PDT)
> > Scott Jorgenson <dscottjorgenson@xxxxxxxxx>
> wrote:
> > 
> > > Greetings, everyone.
> > > 
> > > In February 2005 Nick Kew pointed out a problem
> with
> > mod_proxy's
> > > ProxyPassReverse directive: though contained
> inside a
> > <Location>
> > > section, ProxyPassReverse would still be applied
> at
> > the server
> > > level.  Here's a link to an archive of that
> > discussion:
> > >
> >
> http://tech.groups.yahoo.com/group/new-httpd/message/52311
> > > 
> > > My question is, did this ever get fixed, and if
> so, in
> > which Apache
> > > httpd  version?  I've looked in the change
> logs
> > for 2.0 and 2.2 (here
> > 
> > It got fixed long ago (2004 IIRC).  Can't
> recollect
> > what version.
> > 
> > -- 
> > Nick Kew
> > 
> > Application Development with Apache - the Apache
> Modules
> > Book
> > http://www.apachetutor.org/
> > 
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache
> HTTP
> > Server Project.
> > See <URL:http://httpd.apache.org/userslist.html>
> for
> > more info.
> > To unsubscribe, e-mail:
> users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest:
> > users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail:
> > users-help@xxxxxxxxxxxxxxxx
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux