Skip to main content
OCLC Support

LoginMenu

Learn how to use the LoginMenu config.txt directive to change the default behavior of EZproxy for destination URLs.

LoginMenu is a position-independent directive that normally appears toward the top of config.txt.

When a user is sent to EZproxy without a destination URL, after the user logs in, EZproxy normally presents the file menu.htm. LoginMenu alters this behavior and indicates that the user should be routed to the specified URL after such a login instead of being presented with menu.htm.

Example

LoginMenu http://www.yourlib.org/library/
LoginMenu /login?url=http://www.yourlib.org

The first example link demonstrates how to route the user a specific URL that is not rewritten by EZproxy. The second link demonstrates how to route the user to the proxied version of a specific URL by including /login?url= in front of the URL.