If you run EZproxy on a Linux system that already has a web server and you want to use EZproxy on port 80, you will need to assign an additional DNS name and IP address to the server.
Start by requesting the new DNS name and IP address from your network administrator. The IP address you request must be in the same subnet as the existing IP address on your server. If you will be using proxy by hostname.
In this note, the DNS name ezproxy.yourlib.org and the IP address 188.8.131.52 demonstrate where the DNS name and IP address should appear, and where you should insert your values instead.
If you use proxy by hostname, be sure to request the creation of the wildcard entry to point to the same address. With proxy by hostname, you should also verify that the DNS entries with the Check DNS test.
These are the steps to add the second IP address to your existing network adapter under non-SUSE distributions of Linux.
In most instances, you will see the files ifcfg-eth0 and ifcfg-lo. If you see other files with any other names and are unfamiliar with configuring TCP/IP, you may want to consult with your system administrator before proceeding or contact email@example.com.
Next, edit icfg-eth0:0 and change the DEVICE line to be similar to:
cp ifcfg-eth0 ifcfg-eth0:0
and change the IPADDR line to be similiar to:
These are the steps to add the second IP address to your existing network adapter under SUSE distributions of Linux.
and look for a file named similar to ifcfg-eth-id-12:34:56:78:90:ab. The colon-delimited letters and digits at the end are the MAC address (hardware address) of the Ethernet adapter.
to add the extra address and then you should issue:
to restart networking and activate the new IP address.
To tell EZproxy to use this name and address, edit config.txt and add lines similar to:
These lines should appear before any LoginPort, LoginPortSSL, or Title lines.
You will also need to configure your existing web server to tell it to use only its IP address. In Apache, you do this by editing httpd.conf and changing your Listen lines like:
Listen 184.108.40.206 :80
where 220.127.116.11 would be replaced by the main IP address of your server.