Proxy auto setting page

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module adds a proxy configuration file page to your Drupal site. Proxy configuration file can be a Proxy Auto-Config (proxy.pac) file or a Web Proxy Autodiscovery Protocol (wpad.dat) file or both. These files will have
correct configurable mimetype application/x-ns-proxy-autoconfig or application/x-javascript-config. Configuration file will available at: $base_url/proxy.pac or $base_url/wpad.dat or both.

Rules when create configuration file:

  1. Comment line will not included in file output.
  2. Must contain function FindProxyForURL(url, host).
  3. Must at least has one return value as string.
  4. Use spaces than tabs.

More information related proxy automatic configuration files:

  1. Proxy_auto-config in Wikipedia.
  2. Web_Proxy_Autodiscovery_Protocol in Wikipedia.
AttachmentSize
Output configuration file example598 bytes

Project information