httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "coeus.si" <i...@coeus.si>
Subject Re: [users@httpd] localhost ipv6 problem
Date Wed, 17 Nov 2010 17:07:33 GMT
Thanks Igor,
I guess I will file a bug report.

Cheers,
Bosjtan

On 17.11.2010, at 7:09, Igor Galić wrote:

> 
> ----- "coeus.si" <info@coeus.si> wrote:
> 
>> Hi,
>> 
>> I am running Apache on Win Server 2008 and I am trying to configure it
>> as a proxy serving another application that runs on localhost:8020.
>> The configuration is as follows:
>> 
>> <VirtualHost *:80>
>>    DocumentRoot "C:/myApp"
>> 
>>    ServerName example.com
>>    ErrorLog "logs/example-error.log"
>>    CustomLog "logs/example.log" common
>> 
>>    UseCanonicalName Off
>>    ServerSignature Off
>> 
>>    AddDefaultCharset utf-8
>> 
>>    ProxyPreserveHost On
>>    ProxyRequests Off
>> 
>>    ProxyPass / http://[::1]:8020/
>>    ProxyPassReverse / http://[::1]:8020/
>> 
>> </VirtualHost> 
>> 
>> When I try to access example.com I get the following error:
>> [Wed Nov 17 07:34:51 2010] [error] [client 95.87.153.77] proxy: DNS
>> lookup failure for: [::1]]:802 returned by /
>> [Wed Nov 17 07:34:51 2010] [error] [client 95.87.153.77] File does not
>> exist: C:/myApp/favicon.ico
>> 
>> The reason I used "ProxyPass / http://[::1]:8020/" is because
>> "ProxyPass / http://localhost:8020/" calls 127.0.0.1 that is (unknown
>> to me) unreachable (while ::1, for example, is).
>> 
>> What am I missing here? Or why can't I use ipv6 address in ProxyPass
>> directive? Or can I force Apache to translate localhost to ipv6
>> address? Or how to convince windows to accept 127.0.0.1... I really
>> stuck here. I would really appreciate any hint.
> 
> Even though I don't quite understand why you can't put ::1 localhost in your
> hosts file, I do understand the problem, and it seems to be a bug.
> 
> The only thing I was able to pick out from bugzilla is:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=40841
> 
>> Thanks,
>> Bostjan
> 
> So long,
> i
> 
> -- 
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> 
> ---------------------------------------------------------------------
> 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
> 


---------------------------------------------------------------------
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


Mime
View raw message