Network.proxy.autoconfig url
Background
When using a single proxy for all HTTP traffic is not flexible enough, or if you need to centrally administer proxy settings for a network or organization, PAC (Proxy AutoConfiguration) files allow you to choose a proxy via script.
This preference points to a PAC file to be used by Mozilla when network.proxy.type is set to 2.
Possible values and their effects
A URL (remote or local) to a valid PAC file. Default is an empty string.
Caveats
- This preference only has an effect if network.proxy.type is set to 2.
- If the content pointed to in the preference changes, you may need to reload the file (a reload button is available next to the PAC URL field in the UI)
- If the PAC file is invalid or contains errors, messages to this effect should appear in the JavaScript Console.
- If the PAC file cannot be loaded, Mozilla will retry based on the preferences network.proxy.autoconfig_retry_interval_min and network.proxy.autoconfig_retry_interval_max.
UI
Mozilla Firefox 1.5
The field “Automatic proxy configuration URL” under “Tools → Options → General → Connection → Connection Settings...”
SeaMonkey
The field “Automatic proxy configuration URL” under “Edit → Preferences → Advanced → Proxies”
Previous effects
Although this preference worked in Netscape Communicator, it did nothing in Mozilla until PAC functionality was implemented (see check-in date below).
First checked in
Has an effect in
- Mozila Suite (all versions since 0.9)
- Netscape (all versions since 6.1 PR1)
- Mozilla Firefox (all versions)
- SeaMonkey (all versions)
Related bugs
- Bug 20145 - Enable Proxy Auto Configuration
- Bug 53080 - [CLOSED]PAC: did not work pre-Mozilla 0.9 (-> go to 79893)
Related preferences
- network.proxy.autoconfig_retry_interval_max
- network.proxy.autoconfig_retry_interval_min
- network.proxy.type