|
|
|
|
|
Creating Public Forms to Proxied ResourcesMinimum version required
The options described in this document require EZproxy 2.0e GA (2002-11-11) or later.
OverviewThe /form URL allows you to place search forms on public web pages. It is similar to /login, except it expects to receive additional form variables which need to be sent to the remote database. When using the /form URL, the requests of local users are sent directly on to the remote database unproxied, whereas unauthenticated remote users are required to log in first, then their requests are sent on proxied to the database. This method only works with remote search pages that support the get method for form processing, not the post method. This document describes how to construct such a form for use with Google Scholar. It assumes that that Google Scholar has already been used to configure EZproxy for use with Google Scholar. An example that does not workAt first glance, it might seem that:
would allow you to place a search form on a public page and it would operate in the manner described in the overview. However, the EZproxy /login URL makes very specific assumptions about the information it will receive, and receiving arbitrary form variables such as "q" in this form is not one of these assumptions, causing that variable to be discarded and preventing this form from working as desired. An example that does work
The HTML form tag in this new version has three key differences.
Once you place this version of the form on a public page, both your local and remote users should be able to use it to perform searches, with local users required to authenticate but then proxied through to perform the search. |