Solved

Creating a proxy.pac file

Posted on 2011-03-15
6
1,513 Views
Last Modified: 2012-05-11
I have created a simple proxy.pac file so that I can point this to my browser without having to always change these settings.
I have used IE8 to point to the file on my c drive in the following format:
Address is pointing to: file://c:/proxy.pac
which is the location of the file.

The problem is it snot working and Im wondering if there are any troubleshooting steps I can take to find out why.
I want to test this before deploying to the domain via GPO
thanks
0
Comment
Question by:Jamesm007
  • 4
  • 2
6 Comments
 
LVL 1

Author Comment

by:Jamesm007
ID: 35143079
this is what my proxy.pac file looks like:


function FindProxyForURL(url,host) {

if (
(isInNet(host,"10.xx.xx.0","255.255.255.0")) ||
(isInNet(host,"10.0.0.0","255.255.0.0")) ||
(isInNet(host,"192.168.10.0","255.255.255.0")) ||
(isInNet(host,"127.0.0.0","255.255.255.0"))
)
return "DIRECT";
else
return "PROXY proxy address.com.au:80; DIRECT"; }
0
 
LVL 3

Expert Comment

by:Dave4125
ID: 35143083
I think there are three / after file: and you should check if the user has read access to the file.
0
 
LVL 1

Author Comment

by:Jamesm007
ID: 35143112
I am doing this locally on my laptop and I have tried with 3 and 4 /// but apparently IE has 2 - none will work 2,3 or 4 :(
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 3

Accepted Solution

by:
Dave4125 earned 500 total points
ID: 35143646
Oh wait a second, I just noticed that it's a forward slash. Try this: file:///C:\proxy.pac
0
 
LVL 1

Author Comment

by:Jamesm007
ID: 35143851
just tried that, no luck unfortunately.
Is this supposed to work with IE8 on Win 7 the way I have set it up. I didnt think it would be so difficult.

thanks
0
 
LVL 1

Author Closing Comment

by:Jamesm007
ID: 35143935
All good now - missed a / with all the mucking around.
thanks
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question