Difference between revisions of "10 core.pl"

From EPrints Documentation
Jump to: navigation, search
Line 1: Line 1:
 
{{dirs}}
 
{{dirs}}
 
{{cfgd}}
 
{{cfgd}}
 +
 +
As of EPrints 3.2 you should not edit this file directly. You should run bin/epadmin config_core <archivename>.
 +
Having done thise you will still need to run <eprintsroot>/bin/generate_apacheconf --replace and restart apache.
  
 
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
 
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

Revision as of 10:29, 27 October 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

As of EPrints 3.2 you should not edit this file directly. You should run bin/epadmin config_core <archivename>. Having done thise you will still need to run <eprintsroot>/bin/generate_apacheconf --replace and restart apache.

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;