POV-Ray : Newsgroups : povray.off-topic : apache proxy redirect woes Server Time
1 Jul 2024 01:27:19 EDT (-0400)
  apache proxy redirect woes (Message 1 to 2 of 2)  
From: dick balaska
Subject: apache proxy redirect woes
Date: 19 Jan 2016 16:10:28
Message: <569ea644$1@news.povray.org>
I can't figure this out. grr.

I have two tomcat webapps running behind apache via a proxy configured 
as such:
ProxyPass         /BuckoVidLib      http://localhost:8080/BuckoVidLib
ProxyPassReverse  /BuckoVidLib      http://localhost:8080/BuckoVidLib

ProxyPass         /bsac/meta        http://localhost:8080/MetaBsac
ProxyPassReverse  /bsac/meta        http://localhost:8080/MetaBsac

If I access      http://www.buckosoft.com/BuckoVidLib
it redirects to  http://www.buckosoft.com/BuckoVidLib/
as expected.
But, if I access http://www.buckosoft.com/bsac/meta
it redirects to  http://www.buckosoft.com/MetaBsac/
which is broken.
(It should redirect to www.buckosoft.com/bsac/meta/ )

double argh.


Post a reply to this message

From: Stephen
Subject: Re: apache proxy redirect woes
Date: 19 Jan 2016 17:38:27
Message: <569ebae3$1@news.povray.org>
On 1/19/2016 9:10 PM, dick balaska wrote:
> I can't figure this out. grr.
>
> I have two tomcat webapps running behind apache via a proxy configured
> as such:
> ProxyPass         /BuckoVidLib      http://localhost:8080/BuckoVidLib
> ProxyPassReverse  /BuckoVidLib      http://localhost:8080/BuckoVidLib
>
> ProxyPass         /bsac/meta        http://localhost:8080/MetaBsac
> ProxyPassReverse  /bsac/meta        http://localhost:8080/MetaBsac
>
> If I access      http://www.buckosoft.com/BuckoVidLib
> it redirects to  http://www.buckosoft.com/BuckoVidLib/
> as expected.
> But, if I access http://www.buckosoft.com/bsac/meta
> it redirects to  http://www.buckosoft.com/MetaBsac/
> which is broken.
> (It should redirect to www.buckosoft.com/bsac/meta/ )
>
> double argh.


It seems to be the slash on the end that does the trick or damage.
I don't know enough to help, though.


-- 

Regards
     Stephen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.