+ Post New Thread
Results 1 to 2 of 2
Internet Related/Filtering/Firewall Thread, IIS/Proxy.pac failure in Technical; I've set up my Windows 2008R2 Server with the IIS role and the basic (default) options. Tested it and the ...
  1. #1

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    1,675
    Thank Post
    122
    Thanked 126 Times in 102 Posts
    Rep Power
    45

    IIS/Proxy.pac failure

    I've set up my Windows 2008R2 Server with the IIS role and the basic (default) options.

    Tested it and the IIS start page appears.

    What I want is to host a proxy.pac file on the server (as the web proxy I have doesn't allow me to host it on itself). If I put the file in the wwwroot folder on the server and try and http into it ( http://<serverIP>/proxy.pac ) I get a 404 File or directory not found error. The auto configuration is clearly not working in IE.

    So should I be able to web into the file once it's there? Presumably yes and then IE would allow me to download the file so what really basic thing have I not done? I can't know if the proxy.pac file is correct until I can be sure the PC is accessing it

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Open the web.config file in the root of IIS and add this:
    HTML Code:
     <system.webServer>
                <staticContent>
                    <mimeMap fileExtension=".pac" mimeType="application/x-ns-proxy-autoconfig" />
                </staticContent>
            </system.webServer>
    Last edited by nickbro; 2nd August 2013 at 02:16 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Proxy .pac file
    By FN-GM in forum Internet Related/Filtering/Firewall
    Replies: 30
    Last Post: 23rd September 2010, 11:34 PM
  2. OSX and Proxy.pac files
    By cookie_monster in forum Mac
    Replies: 0
    Last Post: 28th April 2010, 10:38 AM
  3. Proxy .pac file
    By FN-GM in forum Internet Related/Filtering/Firewall
    Replies: 4
    Last Post: 10th February 2010, 10:33 AM
  4. proxy .pac file
    By sted in forum Windows
    Replies: 12
    Last Post: 24th September 2009, 07:50 PM
  5. Stupid proxy pac
    By Oops_my_bad in forum Wireless Networks
    Replies: 10
    Last Post: 23rd March 2009, 09:59 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •