Re: mod_proxy report "DNS lookup failure" when combined mod_proxy and mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/2/20 Robert Balabalame <balabalamerobert@xxxxxxxxx>:

>
>     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 I
> delete the line that contains "RewriteRule ..."

It seems like "DNS lookup failure" may be a red herring. But that
RewriteRule makes no sense. What is it supposed to do? It is proxying
a request back onto itself, which should create an infinite loop.

I don't think you even need that line at all, given that you have the
ProxyPass line above that cancels proxying for that URL. If you need
to cancel some other rewriting, you can use
RewriteRule ^/balancer-manager$ - [L]

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux