/dev/docs/ezproxy
Type: /type/page
body: value: If your library is in the <a href="http://openlibrary.org/borrow/about">In Library</a> lending program, patrons *in the library* may already be able borrow books from our <a href="http://openlibrary.org/subjects/in_library">In Library</a> collection.

If you have <a href="http://www.oclc.org/ezproxy/">EZProxy</a>, it's easy to set up access for remote patrons as well:

### 1. Edit EZProxy config ###

Add the following to your EZProxy config.txt or ezproxy.cfg file:
<pre><code>   Title   OpenLibrary
URL     http://openlibrary.org
DJ      openlibrary.org</code></pre>

You might be tempted to proxy archive.org.  Don't!

### 2. Restart EZProxy ###

(Documentation <a href="http://www.oclc.org/support/documentation/ezproxy/restart.htm">here</a>.)

<!--
Linux:

 - Log in to ezproxy account
 - <pre>cd /usr/local/ezproxy</pre>
 - <pre>./ezproxy restart</pre>

Windows:

 - Open Services control panel
 - Right-click the EZProxy service
 - Select Restart
-->

### 3. Link to Open Library! ###

Add a link like the following to your site:

<code>&lt;a href="http://ezproxy.your_library_here.org/login?url=http://openlibrary.org/borrow"&gt;Borrow from 200,000 eBooks on Open Library!&lt;/a&gt;</code>
title: Accessing Open Library with EZProxy
m: edit