10 core.pl

From EPrints Documentation
Revision as of 10:00, 27 July 2010 by Pm705 (Talk | contribs)

Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

10_core.pl is where the core repository settings are kept. You will rarely have to change anything in this file after the installation. Some times you may want to change your host name to reflect a new DNS entry. When you do this you will also have to run <eprintsroot>/bin/generate_apacheconf --replace, <eprintsroot>/bin/generate_static, <eprintsroot>/bin/epadmin refresh_abstracts, <eprintsroot>/bin/epadmin refresh_views

Example

$c->{host} = 'languagebox.ac.uk';
$c->{port} = 80;
$c->{aliases} = [];
$c->{securehost} = undef;
$c->{securepath} = undef;