[users@httpd] Re: mod_proxy ProxyPassReverse incorrectly adjusting Location header in redirect?

2012-04-12 Thread Charlie Katz
Rainer Frey inxmail.de> writes: > So the result of ProxyPassReverse will *always* be a URL within the current VHost, but you need to send a > redirect to your other, non-SSL VHost. > > Another idea is using mod_headers to process the Location header in the proxy response. But I'm not sure > th

[users@httpd] Alias based on IP address

2012-04-12 Thread Paulo Silva
Hi, Inside a virtualhost is it possible to define an Alias based on the IP of the incoming request? Thanks for any answer -- Paulo Silva

Re: [users@httpd] mod_proxy ProxyPassReverse incorrectly adjusting Location header in redirect?

2012-04-12 Thread Rainer Frey
On 12.04.2012, at 09:17, Igor Cicimov wrote: >> On Thu, Apr 12, 2012 at 4:32 PM, Rainer Frey wrote: >> >> > Where did you get the idea that you can mix protocols in the reverse proxy >> > commands from? >> > >> > This doesn't [make sense]: >> > ProxyPass / https://internal.example.com/ >> >

Re: [users@httpd] 302 http status code after setting the redirects

2012-04-12 Thread Daniel Gruno
On 12-04-2012 10:19, aparna Puram wrote: > Hello All, > > We have implemented the redirects from http to https > > RewriteEngine On > RewriteCond %{HTTPS} off > RewriteRule (.*) https://dnsname.com%{REQUEST_URI} > > this server can be accessing using 3 different names. > > localhostname > and there

[users@httpd] 302 http status code after setting the redirects

2012-04-12 Thread aparna Puram
Hello All, We have implemented the redirects from http to https RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://dnsname.com%{REQUEST_URI} this server can be accessing using 3 different names. localhostname and there are 2dns names for accessing the server. After implementing

Re: [users@httpd] mod_proxy ProxyPassReverse incorrectly adjusting Location header in redirect?

2012-04-12 Thread Igor Cicimov
> > > On Thu, Apr 12, 2012 at 4:32 PM, Rainer Frey wrote: > > On 12.04.2012, at 07:57, Igor Cicimov wrote: > > > Where did you get the idea that you can mix protocols in the reverse > proxy commands from? > > > > This makes sense: > > ProxyPass / http://internal.example.com/ > > ProxyPassReve