Re: [users@httpd] httpd 2.2 ReverseProxy not working on 302 redirect location header

2012-09-20 Thread Mario A. del Riego
El 19/09/12 12:06, Tom Evans escribió: On Wed, Sep 19, 2012 at 3:46 PM, Mario A. del Riego delri...@fing.edu.uy wrote: Supid, I have the same behavior, it's a bug well documented at [1]. If you know the redirection, you can do it in the front-end. In my particular case, i fixed

Re: [users@httpd] httpd 2.2 ReverseProxy not working on 302 redirect location header

2012-09-19 Thread Mario A. del Riego
Supid, I have the same behavior, it's a bug well documented at [1]. If you know the redirection, you can do it in the front-end. In my particular case, i fixed it with mod_security. I have wrote a little in my blog [0] (in spanish) about this. [0]

Re: [users@httpd] How to redirect all requests for domain A to domain B

2012-03-19 Thread Mario A. del Riego
I must add this redirect to the VirtualHost's SSL. You need to know where its added, if you type: apachectl -S will see something like: [...] *:443is a NameVirtualHost default server localhost (/etc/httpd/conf.d/ssl.conf:12) [...] In this file you have to do it. Search for something

Re: [users@httpd] ProxyPass per IP/Net

2011-09-08 Thread Mario A. del Riego
Yes, it's possible. 1) You can use mod_rewrite for that, for example, i think: RewriteCond %{REMOTE_HOST} =host1 RewriteRule ^/mysite http://server1/ [NC,P,L] RewriteCond %{REMOTE_HOST} =host2 RewriteRule ^/mysite http://server2/ [NC,P,L] 2) Also, you can play with SetEnvIf: SetEnvIF