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

2012-04-12 Thread Rainer Frey
Hi, I don't know the solution out of my head, but maybe pointing out what goes wrong helps you already. On 11.04.2012, at 18:11, Charlie Katz wrote: Hi, as an interim solution in an internal reorganization of server resources, I want to use mod_proxy as a reverse proxy to move the entire

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

2012-04-12 Thread Rainer Frey
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/ ProxyPassReverse / http://internal.example.com/ This doesn't: ProxyPass /

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 rainer.f...@inxmail.de 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/

[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

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 are 2dns

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 rainer.f...@inxmail.de 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/

[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 paulo...@gmail.com

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

2012-04-12 Thread Charlie Katz
Rainer Frey rainer.frey at 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