Core.pl

From EPrints Documentation
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

core.pl in lib/syscfg.d/ contains the core system configuration for use with the web server and filesystem. In particular the following settings:

  • $c->{show_ids_in_log} - Whether to show the ID of the archive at the start of log messages. This is useful if you are running multiple archives on the same server.
  • $c->{file_perms} - The permissions EPrints should give to new files it creates.
  • $c->{dir_perms} - The permissions EPrints should give to new directories it creates.
  • $c->{apache} - Version of mod_perl to use.
  • $c->{virtualhost} - String to use in VirtualHost Apache directives.