Zur Startseite
OCLC Support

Domain (D)

Learn how to use the Domain config.txt directive to specify an Internet domain whose URLs should be rewritten by EZproxy.

Domain (also written as D) specifies an Internet domain whose URLs should be rewritten by EZproxy. If port is omitted, then any server using any port within the domain should be rewritten. If the port is included, then only servers using the specified port should be rewritten.

Domain is a repeatable, position-dependent config.txt directive that interacts with database stanzas, groups, interface directives and IP ranges.

Qualifiers

Qualifier Description
wilddomain

If wilddomain does not contain *, then authorize the proxying of any server whose name is exactly wilddomain or whose name ends in a period followed by wilddomain.

If wilddomain contains at least one *, then authorize the proxying of any server whose name matches wilddomain where * matches 0 or more characters and ? matches any one character.

Options

Option Description
port If port is included, then only servers using the specified port should be rewritten.

Syntax

D wilddomain[:port]

Examples

Proxy any server that is somedb.com, ends in .somedb.com, or uses an IP addresses starting with 132.174.

Title Some Database
URL http://www.somedb.com
D somedb.com
D 132.174.*.*