Option HttpsHyphens

Learn how to use the Option HttpsHyphens config.txt directive to change https in EZproxy.

Option HttpsHyphens specifies that hostnames used with https in proxy by host name with a wildcard certificate should have their periods changed to hyphens. For example, https://www.somedb.com might be changed to https://www-somedb-com.ezproxy.yourlib.org. This is the default behavior for EZproxy in this scenario.

Option NoHttpsHyphens specifies that hostnames used with https in proxy by hostname with a wildcard certificate should not have all periods changed to hyphens. For example, https://www.somedb.com might become https://www.somedb.com.ezproxy.yourlib.org. Disabling the transformation of periods to hyphens causes browser warnings. This option should only be employed if a web site refuses to proxy correctly when the periods are transformed to hyphens.

Option HttpsHyphens is a repeatable position-dependent directive that follows database stanzas until overwritten.

Syntax

Option HttpsHyphens

Examples

Disable the transformation of periods to hyphens for Some Database, but restore the normal behavior for Other Database and any databases that appear after Other Database.

Option NoHttpsHyphens
Title Some Database
URL http://www.somedb.com
D somedb.com
Option HttpsHyphens
Title Other Database
URL http://www.otherdb.com
D otherdb.com