Installing mod perl

From EPrints Documentation
Revision as of 15:48, 17 April 2008 by WikiSysop (talk | contribs) (Reverted edits by PoyS9k (Talk); changed back to last version by Tom)
Jump to: navigation, search
Manual Sections

Apache is the most commonly used webserver in the world, and it's free! EPrints requires Apache to be configured with mod_perl, as this allows Apache modules that are entirely written in perl, hence providing much improved efficiency.

Get Apache from

EPrints requires that the apache module mod_perl is enabled.

Apache with mod_perl Installation - Step by Step

  • Download mod_perl and apache sources
  • Make mod_perl, I use this command (in the modperl src dir):

% perl Makefile.PL APACHE_PREFIX=/usr/local/apache \
APACHE_SRC=../apache-1.3.14/src DO_HTTPD=1 USE_APACI=1 \

Remeber to change ../apache-1.3.14/src to wherever your apache source is relative to this directory. The back slashes at the end of the line allow a single command to be split over multiple lines.

  • Make and install apache. From the mod_perl src dir, I use:

% make
% make install

( mod perl should have already run the apache ./configure script for us. )

Compatability notes

EPrints 2.3 Tested with: apache 1.3.14 with mod_perl 1.25