Solved

Creating a proxy.pac file

Posted on 2011-03-15
6
1,518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Suggested Courses

623 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