Skip to main content
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

Calificador Descripción
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

Opción Descripción
port If port is included, then only servers using the specified port should be rewritten.

Sintaxis

D wilddomain[:port]

Ejemplos

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.*.*

 
https://help-es.oclc.org/Library_Management/EZproxy/Configure_resources/Domain_D
help-es.oclc.org
CC-MAIN-2024-38
59450
application/http; msgtype=response
sha1:A7O5QBN64XVDDJFAYXL72YO2QZ6SLBVH
<urn:uuid:41773979-ca45-434c-aab7-e6005ecfde6c>
2024-09-18T02:54:10Z
52.5.240.203
text/html
sha1:UGG7ROV2PNP3MHTO4YGXDHYMUK2WRWAG
<urn:uuid:21d173ef-d7e6-47fa-8534-42577907fbb2>
https://help-es.oclc.org/Library_Management/EZproxy/Configure_resources/Domain_D
response
<urn:uuid:712e007b-ed43-410a-9697-ee0ccb977ab5>
isPartOf: CC-MAIN-2024-38
publisher: Common Crawl
description: Wide crawl of the web for September 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-154
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/