This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems configing the new proxy.pac settings

Nomatter what i type in the javascript box i get this error

Cannot apply changes:
conflicting data types for specified node

Even if i type nothing and just hit apply.


Second question is how to test, Once i get the text typed in, am i able  to hit this file by typeing http://address/wpad.dat


This thread was automatically locked due to age.
Parents
  • I just tried this and everything went swimmingly.  I used the following:

    http://10.10.10.1:8080/wpad.dat in Internet Explorer

    In the box, I entered:

    function FindProxyForURL(url, host) 

     if (isInNet(myIpAddress(), "10.10.10.0", "255.255.255.0")) 
      return "PROXY 10.10.10.1:8080"; 
     else 
      return "DIRECT"; 
    }

    I'm on V7.504.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Is it possible to do this for a multi building site where say you have these networks.

    10.10.0.0 255.255.0.0
    10.11.0.0 255.255.0.0
    10.12.0.0 255.255.0.0

    The routing is happening between the buildings.

    Let me know if need more info.

    Thanks
  • you can just keep typeing more addresses like below

    if (isInNet(dnsResolve(host), "10.10.10.0","255.255.0.0") ||
    isInNet(dnsResolve(host), "10.10.11.0","255.255.0.0") ||
    isInNet(dnsResolve(host), "10.10.12.0","255.255.0.0") ||
    isInNet(dnsResolve(host), "192.168.3.1","255.255.255.0") || 
    return "PROXY 10.10.10.1:8080"; 



    I still get this in the box, can someone tell me what this error means

    "Cannot apply changes:
    conflicting data types for specified node"
Reply
  • you can just keep typeing more addresses like below

    if (isInNet(dnsResolve(host), "10.10.10.0","255.255.0.0") ||
    isInNet(dnsResolve(host), "10.10.11.0","255.255.0.0") ||
    isInNet(dnsResolve(host), "10.10.12.0","255.255.0.0") ||
    isInNet(dnsResolve(host), "192.168.3.1","255.255.255.0") || 
    return "PROXY 10.10.10.1:8080"; 



    I still get this in the box, can someone tell me what this error means

    "Cannot apply changes:
    conflicting data types for specified node"
Children
No Data