How to enable server side includes

From EPrints Documentation
Revision as of 13:12, 1 April 2010 by Tdb01r (talk | contribs)
Jump to: navigation, search
Warning This feature requires EPrints version 3.2.1 or later

Note: you must have the Apache Server Side Includes (SSI) module installed and enabled.

Edit archives/[repoid]/cfg/apache.conf and add to the <Location> section AddOutputFilter and +Includes:

 <Location "/eprints">
   PerlSetVar EPrints_ArchiveID myrepo
   
   AddOutputFilter INCLUDES .html
   
   Options +ExecCGI +Includes
   Order allow,deny 
   Allow from all
 </Location>

Restart apache.