https://bugs.winehq.org/show_bug.cgi?id=39167
Bug ID: 39167 Summary: localhost don't resolve over proxied network Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kseltar@gmail.com Distribution: ---
OS: Debian testing (201508) x86_64/amd64 LOCALSERVICE: httpd (port 80) mariadb (3306) NETWORKING: wan force routing to proxy ENV: wine 1.6.2 PlayOnLinux(POL) 4.2 (default 32bit/x86) APP: Dreamweaver MX 8, Firefox 39.0
CASE:
Forced WAN/LAN default routed to proxy server by router_core for access to internet. Every network app as browsers has setted with proxy config. eg:
proxyip: 192.168.24.100 port: 3128
the proxy require authentication for resolv ip/url, because it the browser has this url exceptions:
localhost;127.0.0.1;.domain.type;192.168.0.0/16
similar config to bash environmente http_proxy, etc; also the Desktop environment (KDE or Gnome-like env network settings)
POL has set proxy for download POL system packages
but on app run on app environment every network petition go to the proxy without read desktop/bah env network config (and exeptions) or POL proxy config
MAIN BUG: any url (ip or domain), eg: "http://127.0.0.1/mypage.html", is not checked with the hosts machine /etc/hosts file, and the wined app go to the router and here to the proxy to resolv the url. 127.0.0.1 and localhost are registered on proxy server /etc/hosts file too, and think that the app want its services resolution (eg: httpd) but tehe proxy dont have the service or files required and return 404 page not found,
A MANUAL SOLUTION FOR FIX IT:
add a win-registry on app environment
create a regsitry file or edit wine env register files
example: win7registry.reg for iexplerer env
----------------------- Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyEnable"=dword:00000001 "GlobalUserOffline"=dword:00000000 "ProxyServer"="<ipproxy:<port>" "ProxyOverride"="localhost;127.0.0.1;.domain.type;192.168.0.0/16;<local>"
----------------------
where <ipproxy>:<port> is the proxy ip address and port
ProxyOverride that has the semicolon ";" spaced urls and address on the wan/lan that i don't like to resolv on proxy proxy