NeverProxy
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
Qualificatore | Descrizione |
---|---|
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. |
Opzioni
Opzione | Descrizione |
---|---|
[:port] |
If the port is included, then only URLs that contain port will be prevented from being proxied. |
Sintassi
NeverProxy wilddomain [:port]
Esempi
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