Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
bypass intranet sites

bypass intranet sites

2007-08-16       - By Ariel Szujatovich

 Back
I have solved this issue using "Proxy Auto-Config" files
The issue is that if your client connect to the squid server no matter
what you do, they are already processed by squid
What you need to do is telling your browsers that some servers (sites,
addresses, IPs, etc) should be accessed directly, while some others need
to be routed through a proxy

See http://en.wikipedia.org/wiki/Proxy_auto-config to start


Below you can find an example of my own file
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---- ---- ---- ---- ---- ---- -----
function FindProxyForURL(url, host)

// Make everything lower case.
// WARNING: all shExpMatch rules following MUST be lowercase!
url = url.toLowerCase();
host = host.toLowerCase();

// Local/Internal rule
// matches to this rule get the 'local' proxy.
// Adding rules here enables the use of 'local'

   if (0
       // LOCAL
       || isPlainHostName(host)
       || (host == "servidor1")
       || (host == "servidor2")
       || (host == "servidor3")
       || (host == "localhost")
       || shExpMatch(host, "127.*")
       || shExpMatch(host, "10.*.*.*")
       || shExpMatch(host, "192.168.*.*")
       ) {
       return "DIRECT";
   } else {
       return "PROXY 99.99.99.99:80";;
   }

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---- ---- ---- ---- ---- ---- -----

Where servidor1, servidor2, servidor3 are local servers and 99.99.99.99:80
is the address and port of the proxy server


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Ariel Szujatovich

New San S.A.
Phone:  54  11  4546-5000    (Ext. 275)
Fax:       54  11   4545-6008
E-mail:  aszujatovich@(protected)



sylvan dacounha <sylvan_2804@(protected)>
Sent by: redhat-list-bounces@(protected)
16/08/2007 09:04 AM
Please respond to
General Red Hat Linux discussion list <redhat-list@(protected)>


To
redhat-list@(protected)
cc

Subject
bypass intranet sites






Dear All,
 i am new to squid and do apprecite ur help
 i have the following setup

 redhat 9
 squid
 private ip for all my clients
 I have a couple of sites in my intranet and all my locals users are
using squid to access internet.
 i would want squid to bypass the proxy when users accessin the local
intranet sites

 right now users hav to explicitly say in the browsers .. BYPASS PROXY
SERVER for local addresses after check the use proxy server and the
address has to be mentioned

 most users are non techinal so they dont use this option or put wrong
settin in bypass proxy option

 also when the proxy is used for proxyin local sites the load on squid
increases

 apprecite if you could tell me how cd i let squid bypass proxy for all
my local intranet websites

 i have abt 7 websites running

 apprecite your help


 regards


 simon


-- ---- ---- ---- ---- ---- -----
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
news, photos & more.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list