You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sai Jai Ganesh Gurubaran <sg...@cordys.com> on 2006/11/10 06:35:33 UTC

[users@httpd] mod_proxy - "www" insensitive requests - how to?

Hi,
 We are using Apache (2.0.59) as forward proxy.

Have this problem:
	While browsing for http://www.magic-mirror.4ya.nl

We get 
<code>
       The proxy server received an invalid response from an upstream
server.
       The proxy server could not handle the request GET
http://www.magic-mirror.4ya.nl/.

       Reason: DNS lookup failure for: www.magic-mirror.4ya.nl

       Apache/2.0.55 (Unix) Server at www.magic-mirror.4ya.nl Port 8080
 <code>

<accesslog>
	10.192.61.51 - - [02/Oct/2006:11:26:40 +0530] "GET / HTTP/1.1"
200 44
	10.192.69.10 - - [10/Nov/2006:10:11:54 +0530] "GET
http://www.magic-mirror.4ya.nl/ HTTP/1.1" 502 454
	10.192.69.10 - - [10/Nov/2006:10:11:56 +0530] "GET
http://www.magic-mirror.4ya.nl/ HTTP/1.1" 502 454
</ accesslog >

<errorlog>
	[Fri Nov 10 10:11:54 2006] [error] [client 10.192.69.10] proxy:
DNS lookup failure for: www.magic-mirror.4ya.nl returned by
http://www.magic-mirror.4ya.nl/
	[Fri Nov 10 10:11:56 2006] [error] [client 10.192.69.10] proxy:
DNS lookup failure for: www.magic-mirror.4ya.nl returned by
http://www.magic-mirror.4ya.nl/
</errorlog>

But if we by pass the proxy we get the expected content.

After doing some analysis, found that the site opens (with proxy) by
removing the "www" i.e. http://magic-mirror.4ya.nl

Is there anyway (directives) where we can do the way it is "www"
insensitive of the domain names?

Regards,
Sai



***********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this 
message by anyone else is unauthorized. If you are not the 
intended recipient, any disclosure, copying, or distribution of the 
message, or any action or omission taken by you in reliance on 
it is prohibited and may be unlawful. Please immediately contact 
the sender if you have received this message in error. This email 
does not constitute any commitment from Cordys Holding BV or 
any of its subsidiaries except when expressly agreed in a written 
agreement between the intended recipient and 
Cordys Holding BV or its subsidiaries.
***********************************************************************



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org