Difference between revisions of "10 core.pl"

From EPrints Documentation
Jump to: navigation, search
(Created page with '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 hos…')
 
Line 1: Line 1:
 
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
  
 +
==Example==
 
<pre>
 
<pre>
 
$c->{host} = 'languagebox.ac.uk';
 
$c->{host} = 'languagebox.ac.uk';

Revision as of 12:08, 20 July 2010

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;