Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Proxy exceptions on safari / iPhone-iPad config utility

Is it possible to setup an 'exception to proxy' in either Safari or via the iPhone-iPad configuration Utility?

I can have either everything proxied or nothing proxied using the wi-fi networks setting for my connection, unfortunately as this is a corporate connection, I have to keep switching the http proxy setting from manual to off.

iPad / iPhone, iOS 4, *

Posted on Jan 13, 2011 2:12 PM

Reply
17 replies

Jan 14, 2011 12:47 PM in response to Bonesaw1962

Im using certificates to authenticate wireless connectivity onto our data lan. To get to the outside world I need to authenticate via ISA server manually.

The problem is that proxy authentication is either on or off via the iphone/ipad network config, which means intranet or internet not both together.

In a desktop browser client, the proxy exception option would do the trick.

Feb 11, 2011 3:23 AM in response to smiggs69

*Update*
After doing some digging it turns out that proxy exceptions are only one way of doing this.
I found a useful doc that explains how to utilise PAC (proxy auto-config) file.

http://www.craigjconsulting.com/proxypac.html

Basically you can set your "HTTP Proxy" setting within your wireless config to automatic and point the device to a PAC file.

The PAC file I'm using is modelled on this:-


function FindProxyForURL(url, host)
{
// variable strings to return
var proxy_yes = "PROXY 192.168.1.1:8080";
var proxy_no = "DIRECT";
if (shExpMatch(url, "http://www.mycompanywebsite.com*")) { return proxy_no; }
if (shExpMatch(url, "http://www.myotherwebsite.com*")) { return proxy_no; }
if (shExpMatch(url, "http://www.my3rdlocalsite.com*")) { return proxy_no; }
// Proxy anything else
return proxy_yes;
}

Job done!

May 9, 2011 2:42 PM in response to Rascally

Randy,

This works for iphones as well, any browser that can see the PAC file can use the rules you add.


manually setup in your wifi-networks settings.


At the bottom section of your network setup

Settings -> Wi-Fi -><select your SSID>
Set the HTTP Proxy to Auto and select the path to your PAC file.


Set proxy_no for your local mail server as per the code snippet above.

Jul 29, 2011 7:49 AM in response to smiggs69

Due to the absence of proxy exception, I spent hours trying to use proxy.pac. I set up an IIS server, set up a proxy pac. For Safari and iTunes worked fine, however for mail and other applications (SoundHound operates etc ...) did not work.


My environment has an aggravating factor, because the proxy requires authentication and the proxy does not support it. Every time I open Safari, it requires re-authentication to navigate.


I hope apple in iOS 5increase support services for corporate and implement NTLM , Kerberos TGT for single sign on.

If you guys got some information regarding, please let me know.

Proxy exceptions on safari / iPhone-iPad config utility

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.