----- "coeus.si" <i...@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.ga...@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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to