LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-18-2008, 01:25 AM   #1
Wynand1
Member
 
Registered: Mar 2004
Posts: 121

Rep: Reputation: 15
Question Proxy settings PAC file ignored ???


Hi, I have a Squid proxy and would like the browsers on my network to automatically use it.

I'm trying to use a PAC file to accomplish this , but it doesnt work ... it's almost as if the browser ignores the file. (both Firefox and IE)

this is the contests of my PAC file:

Code:
function FindProxyForURL(url, host) 
{ 
 if (isInNet(myIpAddress(), "192.168.10.0", "255.255.255.0")) 
  return "PROXY 192.168.10.10:3128"; 
 else 
  return "DIRECT"; 
}
What am I doing wrong ?
 
Old 09-18-2008, 05:17 AM   #2
Wynand1
Member
 
Registered: Mar 2004
Posts: 121

Original Poster
Rep: Reputation: 15
Has no one tried this before ? Do you have any other suggestions ? I cannot configure it manually because of the many notebook users at my company.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using apt behing a .pac http Proxy havok1977 Debian 5 12-11-2012 03:22 AM
proxy.pac andrewfeberwee Linux - General 4 07-07-2008 05:43 AM
urgent: Pac file configuration in links browser Rahil Ghaffar Linux - Newbie 1 04-06-2007 03:47 PM
proxy.pac command line syntax mfran2002 Linux - Security 1 03-26-2007 05:54 AM
file /usr/bin/mysqlbug from install of mysql-3.23.58-1.9 conflicts with file from pac commandline Linux - Software 2 09-28-2006 05:55 PM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration