ullifichte72
Goto Top

Internet Explorer - Automatisches Konfigurationsscript erstellen (IIS)?!

Hallo zusammen,

ich möchte gerne alle Cients ein automatisches Konfigurationsscript im Internet Explorer mitgeben und habe dafür folgendes Script anglegt, welches ich im IIS unter der Default Web Site mit dem Namen proxy.pac hinterlegt habe:

function FindProxyForURL(url, host)
{
if (url.substring(0, 5) != "http:" &&  
url.substring(0, 6) != "https:" &&  
url.substring(0, 4) != "ftp:" &&  
url.substring(0, 7) != "gopher:")  
return "DIRECT";  

if (isPlainHostName(host) ||
localHostOrDomainIs(host, "127.0.0.1") ||  
localHostorDomainIs(host, "10.10.3.1"))  
return "DIRECT";  
if (host.substring(0, 6) == "10.10.")  
return "DIRECT";  
if (dnsDomainIs(host, ".test.de"))  
return "DIRECT";  

return "PROXY 10.10.3.24:8080";  
}

Im Internet Explorer habe ich unter "Automatisches Konfigurationsscript den Pfad: http://server/proxy.pac angegeben (Der Server hat die IP 10.10.3.1)

Wenn ich nun versuche über den Internet Explorer eine Seite aufzurufen, schein es so, als ob das Script überhaupt nicht greift. Ich kann also somit keine Seite aufrufen und erhalte den Fehler:
Internet Explorer cannot display the webpage 

Most likely causes:
You are not connected to the Internet. 
The website is encountering problems. 
There might be a typing error in the address. 

What you can try: 
Check your Internet connection. Try visiting another website to make sure you are connected. 

Retype the address. 

Go back to the previous page. 

More information 

This problem can be caused by a variety of issues, including: 

Internet connectivity has been lost. 
The website is temporarily unavailable. 
The Domain Name Server (DNS) is not reachable. 
The Domain Name Server (DNS) does not have a listing for the website's domain.   
If this is an HTTPS (secure) address, click tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section. 

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds 

Click the Favorites Center button , click Feeds, and then click the feed you want to view. 

To view recently visited webpages (might not work on all pages) 

Click Tools , and then click Work Offline. 
Click the Favorites Center button , click History, and then click the page you want to view. 
Trage ich den Proxy manuell ein, funktioniert alles bestens...!

Meine Vermutung ist, dass entweder das Script nicht in Ordnung ist oder dies über den IIS nicht erreichbar ist.
Somit läuft der Browser dann ins leere!

Gibt es eine Möglichkeit das Skript zu testen?! Wenn ich die URL http://server/proxy.pac im Browser aufrufen, bekomme ich immer die Meldung, dass die Seite nicht verfügbar ist!?

Hat jemand noch eine Idee?!?

Danke und Gruß

Ulli

Content-Key: 98483

Url: https://administrator.de/contentid/98483

Printed on: April 24, 2024 at 17:04 o'clock