how to configure exceptions in squid Proxy server

Hi,

I am using squid Proxy server running RHEL OS.
 We have local applications running in our office . Manually i am configuring the  By pass Proxy exceptions in IE for local applications.
My requirement is i want to configure those bypass  exceptions in squid proxy server itself not on the client side IE.How to do that in squid?

Regards,
Krishgudd
krishguddAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kuknoCommented:
You can't. The idea of the bypass exceptions in IE is to NOT send the requests for internal pages to the proxy, so trying to configure this on the proxy would make no sense, because then you'll have to send the requests to the proxy, to somehow "bypass" them there. Doesn't make sense, right?

But maybe I misinterpret your requirements. Can you please tell us what you are trying to achieve?

Regards
Kurt

0
krishguddAuthor Commented:
Actually when i am trying to open the local application it was going through proxy,for that reason i  put the exceptions in IE.I have so many client side machines, its very difficult for us to configure the exceptions in client side IE.so i want to configure those exceptions in squid proxy server.
0
kuknoCommented:
O.K., but do you see the problem? You do NOT want the requests go to the proxy, so you can't configure this on the proxy, otherwise the requests HAVE to go through the proxy, which you don't want.

The best solution for you would be to set this with a GPO on every client, or use a proxy PAC file on the clients.

GPO:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/ierk/appxa_d.mspx?mfr=true

0
krishguddAuthor Commented:
GPO  i cant do that.I have to do in squid proxy only.Is there any way
0
kuknoCommented:
No way to do that on squid, due to the problem I mentioned.

If you can't do it with GPO, do it with a proxy PAC script.

Example:

function FindProxyForURL(url, host) {
   // URL that match the pattern below, don't use a Proxy:
   if (shExpMatch(url,"*.local.domain/*"))                  {return "DIRECT";}
   if (shExpMatch(url,"application1/*"))                  {return "DIRECT";}
   if (shExpMatch(url,"application2/*"))                  {return "DIRECT";}

   return "PROXY squid.local.domain:3128";
}


Change "local.domain" and "application*" to whatever matches your configuration.
See here, how to use proxy pac scripts: http://en.wikipedia.org/wiki/Proxy_auto-config

Regards
Kurt
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.