FindProxyForURL

Apple iOS

As the iPhone, iPad, and Touch utilize the Safari web browser albeit with a reduced feature set, the ability to use a proxy server (and a PAC file) remains.

There’s little in the way of actual documentation regarding the functionality on the iPhone, and in particular the format for the automatic proxy URL.

Utilizing a PAC File

  1. Click the ‘Settings’ icon.
  2. Click the arrow to view ‘Wi-Fi’ options.
  3. For the wireless connection you wish to configure, press the blue icon.
  4. Scroll to the bottom and choose ‘Auto’.
  5. Enter the location of your PAC file in the format: http://domain.com/filename.pac

The format of the PAC file must follow the above syntax, not doing so will result in the below error when trying to access URLs in iPhone Safari: “Operation could not be completed. (POSIX error 12 – Cannot allocation memory)” (NSPOSIXErrorDomain:12)

Utilizing a proxy server

  1. Click the ‘Settings’ icon.
  2. Click the arrow to view ‘Wi-Fi’ options.
  3. For the wireless connection you wish to configure, press the blue icon.
  4. Scroll to the bottom and choose ‘Manual’.
  5. Enter the proxy server and port, select authentication if your proxy server requires it.
 

iOS 6 & Global Proxy Support

Apple included support in iOS 6 for a single proxy to be used across the operating system, however, this feature isn’t available as a configurable option in the end-user interface. The feature is only available in environments where the device is configured as a “supervised” device using Apple Configurator, e.g. in an enterprise or educational environment.

Translate this page