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.
Thanks,
Bostjan
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]