Difference between revisions of "10 core.pl"

From EPrints Documentation
Jump to: navigation, search
Line 1: Line 1:
 
{{dirs}}
 
{{dirs}}
 +
  
 
{{cfgd}}
 
{{cfgd}}

Revision as of 09:59, 27 July 2010

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;