Re: [EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-26 Thread Robert Balabalame
Hi Joshua, thanks for your reply. I am not very familiar with mod_rewrite. I think I should be familiar with it first. I'll search some docs. Thanks. Robert. On Sat, Feb 23, 2008 at 9:15 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Sat, Feb 23, 2008 at 3:56 AM, Rober

Re: [EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-23 Thread Joshua Slive
On Sat, Feb 23, 2008 at 3:56 AM, Robert Balabalame <[EMAIL PROTECTED]> wrote: > Thanks for your suggestion, Joshua. > > Yes, the rule RewriteRule ^/balancer-manager$ /balancer-manager [P,L] makes > no sense. I just pick it as an example. > > In fact, my rule is like "RewriteRule ^/(.*) /%{ HTTP_REF

Re: [EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-23 Thread Robert Balabalame
Thanks for your suggestion, Joshua. Yes, the rule RewriteRule ^/balancer-manager$ /balancer-manager [P,L] makes no sense. I just pick it as an example. In fact, my rule is like "RewriteRule ^/(.*) /%{ HTTP_REFERER}/$1 [P,L]". But Apache also returns 502 error. So I simplify my rule to "RewriteRul

Re: [EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-21 Thread Joshua Slive
2008/2/20 Robert Balabalame <[EMAIL PROTECTED]>: > > ProxyPass /balancer-manager ! > RewriteEngine On > RewriteRule ^/balancer-manager$ /balancer-manager [P,L] > Reason: DNS lookup failure for: www.mysite.com > But I can access http://www.mysite.com/balancer-manager successfully if

[EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-20 Thread Robert Balabalame
Hi, all: I want to use mod_rewrite to modify some url and pass it to backend servers。And the following is my config。 ServerName www.mysite.com AddOutputFilterByType DEFLATE text/html text/css application/x-javascript ProxyPass /balancer-manager ! ProxyPass /yui ! ProxyPa

[EMAIL PROTECTED] mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

2008-02-20 Thread Robert Balabalame
Hi, all: I want to use mod_rewrite to modify some url and pass it to backend servers。And the following is my config。 ServerName www.mysite.com AddOutputFilterByType DEFLATE text/html text/css application/x-javascript ProxyPass /balancer-manager ! ProxyPass /yui ! ProxyPa