Difference between revisions of "10 core.pl"

From EPrints Documentation
Jump to: navigation, search
(Added actually file name in bold.)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{dirs}}
 +
{{cfgd}}
 +
 +
'''10_core.pl''' contains the core configuration for the archive.  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
  

Latest revision as of 12:00, 27 January 2022

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 contains the core configuration for the archive. 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;