LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-02-2014, 04:53 AM   #1
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Auto Proxy script (PAC) not working properly


Hi Team,

We had configured Auto proxy setting script, its work with mozila and google chrome browser, but not open with internet browser
.

Deatils:-

OS :- Cent OS 6.4, SQUID3 with NTLM authentication, Squidgurd, Samba configured


====================proxy.pac==output
function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.211.0.0", "255.255.0.0"))
return "PROXY 10.211.1.100:8080";
else return "DIRECT";
}
==========================================

Refrence Link
 
Old 09-02-2014, 10:35 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,650

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by ganesh24pal@gmail.com View Post
Hi Team,
We had configured Auto proxy setting script, its work with mozila and google chrome browser, but not open with internet browser.
Mozilla and Chrome ARE 'internet browsers'...or do you mean "Internet EXPLORER???"
Quote:
Deatils:-
OS :- Cent OS 6.4, SQUID3 with NTLM authentication, Squidgurd, Samba configured

====================proxy.pac==output
function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.211.0.0", "255.255.0.0"))
return "PROXY 10.211.1.100:8080";
else return "DIRECT";
}
==========================================
Refrence Link http://www.linuxquestions.org/questi...86-4175515085/
...and in your other thread, you had NTLM authentication problems, which you STILL haven't solved, and never bothered to answer the questions asked about whether or not you were getting those websites, AFTER you REMOVED the NTLM functionality in Squid.

AGAIN, since Squid isn't authenticating with NTLM, your Windows systems aren't going to get automatic configurations, since IE isn't being notified of a PAC file. That's why Mozilla and Chrome ARE working. Amazingly, there are MANY people facing the same issue...and the 'fix' for all of them is to get NTLM working, rather than commenting it out.
 
Old 09-03-2014, 08:42 AM   #3
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193

Original Poster
Blog Entries: 5

Rep: Reputation: 3
Quote:
Originally Posted by TB0ne View Post
Mozilla and Chrome ARE 'internet browsers'...or do you mean "Internet EXPLORER???"

...and in your other thread, you had NTLM authentication problems, which you STILL haven't solved, and never bothered to answer the questions asked about whether or not you were getting those websites, AFTER you REMOVED the NTLM functionality in Squid.

AGAIN, since Squid isn't authenticating with NTLM, your Windows systems aren't going to get automatic configurations, since IE isn't being notified of a PAC file. That's why Mozilla and Chrome ARE working. Amazingly, there are MANY people facing the same issue...and the 'fix' for all of them is to get NTLM working, rather than commenting it out.
1) We internet is also resolved.
2) now script is working fine. Please find the proxy1.pac script.
Quote:
function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.211.0.0", "255.255.0.0"))
return "PROXY 10.211.1.100:8080";
else return "DIRECT";
}
3)Need change windows registry level.
Quote:
2)It also works with IE , if face issue we had to create DWORD value for proxy script in registry.
Key: HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\
Value: EnableLegacyAutoProxyFeatures
Type: REG_DWORD
Data: 1
4) reference link.
Quote:
2) It also works with IE , if face issue we had to create DWORD value for proxy script in registry.
Key: HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\
Value: EnableLegacyAutoProxyFeatures
Type: REG_DWORD
Data: 1
 
  


Reply



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
ubuntu squid proxy redirect to another proxy pac. karger Linux - Networking 0 02-17-2013 09:44 PM
Proxy.pac file is not working zyothi Linux - Networking 19 06-10-2010 04:32 PM
auto mounting is not working properly wagmare Linux - General 1 04-30-2010 04:52 AM
Proxy settings PAC file ignored ??? Wynand1 Linux - Networking 1 09-18-2008 05:17 AM
proxy.pac andrewfeberwee Linux - General 4 07-07-2008 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:04 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration