Difference between revisions of "How to enable server side includes"

From EPrints Documentation
Jump to: navigation, search
(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…')
(No difference)

Revision as of 13:11, 1 April 2010

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.