Current time: 10-22-2019, 07:15 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPT private instance with Proxy server
01-06-2015, 06:20 AM
Post: #4
RE: WPT private instance with Proxy server
You may need to use a proxy PAC file --proxy-pac-url=file:///path/to/config.pac and write one that goes DIRECT for 127.0.0.1 hosts.

Here's an example:

Code:
function FindProxyForURL(url, host) {
  if ((host == "localhost") ||
      (shExpMatch(host, "localhost.*")) ||
      (host == "127.0.0.1")) {
    return "DIRECT";
  }

  return "HTTP proxy.example.com";
}
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WPT private instance with Proxy server - pmeenan - 01-06-2015 06:20 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)