URL (version 1)

Learn how to use the URL (version 1) config.txt directive to specify the main entry point URL for a database in EZproxy.

This version of URL specifies the main entry point URL for a database. The protocol/host/port of the URL also becomes authorized for use in starting point URLs. Refer to the example for more detail on exactly what starting point URLs are authorized by a URL directive.

URL can be used only once per database stanza and interacts with database stanzas, groups, interface directives and IP ranges. The scope of URL is the current database stanza. It is a position-dependent config.txt directive.

Qualifiers 

Qualifier Description
url Main entry URL to this database.

Syntax

URL http://www.somedb.com

Examples

These URL directives specify URLs that will appear in the EZproxy menu page and the EZproxy status page. In addition, they authorize starting point URLs that point to URLs that begin with http://www.somedb.com/, http://www.otherdb.com:8080/, and https://www.anotherdb.com/.
In contrast, none of these directives authorize starting point URLs that point to URLs such as http://www.somedb.com:8000, http://www.otherdb.com, http://www.anotherdb.com, or https://www.anotherdb.com:8443/ since there are no Host, HostJavaScript, or URL directives that matches any of these combinations of protocol/host/port.

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

Title Other Database
URL http://www.otherdb.com:8080/search/
D otherdb.com

Title Another Database
URL https://www.anotherdb.com/login.asp
D anotherdb.com

See also

EZproxy status, Host, HostJavaScript