Doorgaan naar de website
OCLC Support

Option MetaEZproxyRewriting

Learn how to use the Option MetaEZproxyRewriting config.txt directive to specify that a special HTML meta tag may appear in HTML to direct EZproxy to disable its URL rewriting.

Option MetaEZproxyRewriting specifies that a special HTML meta tag may appear in HTML to direct EZproxy to disable its URL rewriting.

Option NoMetaEZproxyRewriting is the default and specifies that EZproxy should ignore the special HTML meta tag and always leave URL rewriting enabled.

For database stanzas that have Option MetaEZproxyRewriting enabled, the tag:

<meta name="EZproxyRewriting" content="disable">

may be inserted before any HTML code in which URL rewriting should not occur. This behavior can be reversed by inserting the tag:

<meta name="EZproxyRewriting" content="enable">

before any HTML code in which URL rewriting should occur.

Option MetaEZproxyRewriting is a repeatable position-dependent config.txt directive that interacts with database stanzas. The scope follows database stanzas until it is overridden.

Syntax

Option MetaEZproxyRewriting

Example

Enable the meta tag for EZproxyRewriting for web pages retrieved from our local web server, but not for web pages from Some Database nor any other databases that appear further down in config.txt.

Option MetaEZproxyRewriting
Title Local Web Server
URL http://www.yourlib.org
D yourlib.org
Option NoMetaEZproxyRewriting
Title Some Database
URL http://www.somedb.com
D somedb.com