| # Deploying PAC file
Deploying the Uniform Server proxy.pac file is straightforward. The steps on this page show how to manually configure the most popular browsers by their proxy settings. First, we take a look at how to configure Apache to serve the PAC file. ## Apache Web Server Before covering PAC file deployment, the following shows how to configure Apache to serve the proxy.pac file.
PAC file location: The proxy.pac file is located in folder UniServerZ\home\us_pac. This folder has been mapped into Apache's configuration file UniServerZ\core\apache2\conf\httpd.conf, as shown on the right. Note: One of the following URL's is used to load the PAC file: http://127.0.0.1/us_pac/proxy.pac - All browsers file:///C:/UniServerZ/home/us_pac/proxy.pac - Pale Moon, FF file://C:/UniServerZ/home/us_pac/proxy.pac - Edge, Opera |  | Apache httpd.conf
    Alias /us_pac  "${US_ROOTF}/home/us_pac/"

    #== PAC - Location to serve proxy.pac
    <Directory "${US_ROOTF}/home/us_pac/">
      Options Indexes Includes
      AllowOverride All
      Require all granted
    </Directory>

    # PAC files e.g proxy.pac
    AddType application/x-ns-proxy-autoconfig .pac
## Portable Pale Moon browser The core component of the Uniform Server Zero module ZeroXV_palemoon_x_x_x.exe is the portable Pale Moon browser. The Pale Moon browser is an optimized version of the Firefox browser.
Information: Uniform Server Zero module Portable Pale Moon has been pre-configured to use the proxy.pac file. The following entries in UniServerZ\core\palemoon\User.ini enable loading of proxy.pac as a file: |  | User.ini:
    ; ========================================
    ; 		** User preferences **
    ; ========================================

    ;(US- Enable proxy to use PAC file)
    network.proxy.type=2

    ;(US- Set PAC file either url or path defined by environment variable US_PAC )
    network.proxy.autoconfig_url=%US_PAC%|"/
## Firefox Open Firefox. Select Tools from the application menu, click Options. Click General tab on the left and under Network Proxy, click Settings. Check Manual proxy configuration. Enter the URL for the PAC file in the HTTP Proxy box. Check the Use this proxy server for all server protocols box, click OK. ## Pale Moon Pale Moon is an optimized version of the Firefox browser. Hence, follow the instructions for Firefox. ## Microsoft Edge Open the Settings app (Windows + I keys). Click on Network & Internet. Click on Proxy. In the Automatic Proxy Setup section, next to Use Setup Script, click Edit. Set the Use Setup Script switch to On. Enter the URL for the PAC file in the Script Address text box, click Save. Close Settings. ## Safari Safari utilizes the Windows proxy settings as used in Microsoft Edge. Hence, follow the instructions for Microsoft Edge. ## Google Chrome Like Safari, Chrome utilizes the Windows proxy settings as used in Microsoft Edge. Hence, follow the instructions for Microsoft Edge. ## Opera Open Opera. Click the Opera button. Click Settings. Click Advanced, select Browser and click Open your computer's proxy settings. In the Automatic Proxy Setup section, next to Use Setup Script, click Edit. Set the Use Setup Script switch to On. Enter the URL for the PAC file in the Script Address text box, click Save. Close Settings. --oOo--