User Tools

Site Tools


hamnet:proxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hamnet:proxy [2023/05/06 14:38] – created f4hofhamnet:proxy [2023/05/06 14:42] (current) f4hof
Line 9: Line 9:
     // These resources are not reachable on the European network      // These resources are not reachable on the European network 
     if (shExpMatch(host, "portal.ampr.org")) return outbound_proxy;     if (shExpMatch(host, "portal.ampr.org")) return outbound_proxy;
 +    if (shExpMatch(host, "wiki.ampr.org")) return outbound_proxy;
     if (isInNet(host, "44.0.0.1", "255.255.255.255")) return outbound_proxy;     if (isInNet(host, "44.0.0.1", "255.255.255.255")) return outbound_proxy;
     if (isInNet(host, "44.1.1.0", "255.255.255.0"  )) return outbound_proxy;     if (isInNet(host, "44.1.1.0", "255.255.255.0"  )) return outbound_proxy;
          
     // Skip proxy for Hamnet resources     // Skip proxy for Hamnet resources
-    if (shExpMatch(host, "*.ampr.org")) return "DIRECT"; 
     if (isInNet(host, "44.0.0.0", "255.128.0.0")) return "DIRECT";     if (isInNet(host, "44.0.0.0", "255.128.0.0")) return "DIRECT";
     if (isInNet(host, "44.128.0.0", "255.192.0.0")) return "DIRECT";     if (isInNet(host, "44.128.0.0", "255.192.0.0")) return "DIRECT";
 +    if (shExpMatch(host, "*.ampr.org")) return "DIRECT";
          
     // All other requests are directed to the Internet     // All other requests are directed to the Internet
     return outbound_proxy;     return outbound_proxy;
 }</code> }</code>
hamnet/proxy.1683383890.txt.gz · Last modified: 2023/05/06 14:38 by f4hof

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki