How to enable server side includes

From EPrints Documentation
Revision as of 13:11, 1 April 2010 by Tdb01r (talk | contribs) (Created page with '{{Version|since=3.2.1}} Note: you must have the [http://httpd.apache.org/docs/2.0/howto/ssi.html Apache Server Side Includes (SSI)] module installed and enabled. Edit <tt>archi…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.