This is an old revision of the document!
Table of Contents
Installing Apache2 and Mod Perl2 on Debian
Install
This command will install apache2 (prefork mode) and mod_perl2. apache2-prefork-dev contains various utils that are needed to build evergreen. The Evergreen apache modules are not thread safe so need to be run with the prefork apache mpm.
#apt-get install apache2-mpm-prefork apache2-prefork-dev libapache2-mod-perl2 apache2-utils
Configure
Default configs now live in CVS under Open-ILS/examples/apache/.
eg.conf is the top-level file which should be loaded by your main apache config. On debian, eg.conf will go into /etc/apache2/sites-available/ and will be symlinked into /etc/apache2/sites-enabled/. You will need to edit this file to ensure the correct hostname/IP settings for the virtual hosts.
eg_vhost.conf contains the common vhost settings and is loaded by eg.conf. On debian, this should live in /etc/apache2/.