Proxy-Auto config funktioniert nicht mit IE9 10
Ziel ist es ein Proxy über die Proxy.pac zu konfigurieren
Hallo Leute,
leider funktioniert beui mir das Auto-Proxy config beim Internet Explorer 9 und 10 nicht.
Vorweg, mit Mozilla Firefox konnte ich meine Proxy.pac. erfolgreich testen.
Hir mein Script(erstellt in Notepad++ und als Proxy.pac abgespeichert(Alle Dateien kein txt o.Ä.)):
Den Pfad habe ich so angegeben: file:\\svrfile\ProxyAutoConfig\proxy.pac
Ich habe mich stark an diesem Beispiel Orientiert: Benötige einfache Proxy.pac GELÖST
Doch leider hat dies nicht bei mir Funktioniert. Auch nach der Umbenennung nach wpad.dat nicht.
Habt ihr noch eine Idee für mich?
Mfg dwohnhas
leider funktioniert beui mir das Auto-Proxy config beim Internet Explorer 9 und 10 nicht.
Vorweg, mit Mozilla Firefox konnte ich meine Proxy.pac. erfolgreich testen.
Hir mein Script(erstellt in Notepad++ und als Proxy.pac abgespeichert(Alle Dateien kein txt o.Ä.)):
function FindProxyForURL(url, host)
{
if (isInNet(host, "192.168.0.1", "255.255.255.0"))
{ return "DIRECT";
}
else
{
return "PROXY 192.168.0.100:8080";
}
}
{
if (isInNet(host, "192.168.0.1", "255.255.255.0"))
{ return "DIRECT";
}
else
{
return "PROXY 192.168.0.100:8080";
}
}
Den Pfad habe ich so angegeben: file:\\svrfile\ProxyAutoConfig\proxy.pac
Ich habe mich stark an diesem Beispiel Orientiert: Benötige einfache Proxy.pac GELÖST
Doch leider hat dies nicht bei mir Funktioniert. Auch nach der Umbenennung nach wpad.dat nicht.
Habt ihr noch eine Idee für mich?
Mfg dwohnhas
Please also mark the comments that contributed to the solution of the article
Content-Key: 204328
Url: https://administrator.de/contentid/204328
Printed on: April 19, 2024 at 00:04 o'clock
3 Comments
Latest comment
Hi,
also bisher habe ich es nur so gesehen, dass das PAC-File über http bereitgestellt wird, wüsste nicht ob der IE mit file:in dem Punkt so klarkommt, wie der Firefox. Probier es nochmal mit file:svrfile/ProxyAutoConfig/proxy.pac (Slashes umgekehrt), falls das nicht funktioniert, nutz den IIS oder Apache oder was auch immer, um das File per http bereitzustellen. So funktioniert es jedenfalls in allen mir bekannten und betreuten Umgebungen.
Grüße
also bisher habe ich es nur so gesehen, dass das PAC-File über http bereitgestellt wird, wüsste nicht ob der IE mit file:in dem Punkt so klarkommt, wie der Firefox. Probier es nochmal mit file:svrfile/ProxyAutoConfig/proxy.pac (Slashes umgekehrt), falls das nicht funktioniert, nutz den IIS oder Apache oder was auch immer, um das File per http bereitzustellen. So funktioniert es jedenfalls in allen mir bekannten und betreuten Umgebungen.
Grüße