Administer the Statista EZProxy Test Instance
This guide covers the administration and configuration of Statista's hosted EZProxy test instance.
Instance Overview
- URL: https://statista.idm.oclc.org/
- External IP: 132.174.235.9
- Admin Account:
statistanav(password in Bitwarden)
Managing Users (Patron Administration)
Users for EZProxy authentication are managed via a file called patron.txt.
User File Format
user:password
cpe:Eir8aim0
The first line must be the header user:password, followed by one user per line in user:password format.
Upload Process
- Create or update the
patron.txtfile with users inuser:passwordformat - Upload to
sftp://scp.oclc.org/statistanavusing thestatistanavaccount (password in Bitwarden) - Wait for the server to check for this file (every 15 minutes) and update the user database
- Users can authenticate once the update completes
Currently Configured Users
statistanav- admin accountcpe- regular user (password:Eir8aim0)
Web Administration Interface
Access the admin panel at https://statista.idm.oclc.org using the statistanav account. This interface provides access to logs and basic monitoring, but most configuration is done via SFTP.
Configuration via SFTP
Connecting to SFTP
Connect to sftp://scp.oclc.org/statistanav with the statistanav username and password from Bitwarden.
Important Directories and Files
/expert/docs- Contains HTML files and the/publicsubfolder for customizing EZProxy webpages (images, CSS, etc.)/expert/ezproxy.cfg- Main configuration file (equivalent toconfig.txtin documentation). Contains database stanzas and non-authentication configurations/expert/ezproxy.usr- User/authentication configuration file (equivalent touser.txtin documentation). Contains authentication settings/expert/shibuser.txt- Shibboleth/SAML authentication configuration (only present if using SAML/Shibboleth)
Working with Preproduction Environment (Staging)
The test environment runs on ports 9080 (HTTP) and 9443 (HTTPS):
Purpose: Test configuration changes before deploying to production without impacting users.
Deploying Configuration Changes
To Staging/Preproduction
- Create an empty file called
flag.txtin the/expertfolder (withinstatistanav/expert) - Wait for the preproduction environment to pick up changes (every 30 minutes)
- The
flag.txtfile will disappear after pickup - Test your changes at the staging URLs (ports 9080/9443)
To Production
- After successful testing in staging, create a new
flag.txtfile - Put the word
prodon the first line of the file - Upload to the
/expertfolder - Changes will be deployed to production on the next pickup cycle (every 30 minutes)
See Also
- Understanding EZProxy - Learn about how EZProxy works
- Test EZProxy Access to Statista - Step-by-step testing guide