NeverProxy

Learn how to use the NeverProxy config.txt directive to specify a domain that should never be proxied in EZproxy.

NeverProxy specifies a domain that should never be proxied, even if other directives in EZproxy indicate that it should be proxied. It is a repeatable position-independent config.txt directive.

If wilddomain does not contain an asterisk (*) wildcard, then EZproxy will match any hostname that exactly matches wilddomain or that ends with a period followed by wilddomain.

 Note: This only works as a wildcard if an asterisk (*) is also specified.

If port is omitted, then EZproxy will not check the port of the requested host to determine if a match exists.

If port is included, then EZproxy will only prevent proxying if port matches the port for the requested URL.

Qualifiers 

Qualifier Description
wilddomain

The domain for which to prevent proxying. If wilddomain does not contain a * wildcard, then EZproxy will match any hostname that exactly matches wilddomain or that ends with a period followed by wilddomain.

If wilddomain contains an *, then EZproxy will attempt to match hostnames using * as a wildcard for 0 or more characters and ? as a wildcard for any single character. Note that ? only works as a wildcard if * is also specified.

Options

Option Description
[:port] If the port is included, then only URLs that contain port will be prevented from being proxied.

Syntax

NeverProxy wilddomain [:port]

Examples

Prevent the proxying of shop.somedb.com, even though it would otherwise match the Domain somedb.com directive, and also prevent the proxying of any hostname in otherdb.com that uses port 8080. Note that the NeverProxy directives are not part of database stanzas and can appear anywhere in config.txt.

NeverProxy shop.somedb.com 
NeverProxy otherdb.com:8080

Title Some Database
URL http://www.somedb.com
Domain somedb.com

Title Other Database
URL http://www.otherdb.com 
Domain otherdb.com

Related directives 

Domain, DomainJavaScript, Host, EZproxy, HostJavaScript, URL