Newer
Older
Digital_Repository / Repositories / statistics / vhost / apache_src.conf
  1.  
  2. ##
  3. ## Use an include directive to read the entries of this file into the
  4. ## apachevhost.conf file for every archive that you want to track stats for.
  5. ## DO NOT add these directives anywhere else. They MUST be part of the virtual
  6. ## host for the archive, as the base URL for each archive will be different.
  7. ##
  8. ## ***************************************************************************
  9. ## ***************************************************************************
  10. ## IMPORTANT! You MUST add '/es' to the rewrite_exceptions list in
  11. ## ArchiveConfig.pm for *every* archive that you wish to track stats for!
  12. ## If you do not, ePrintsStats simply *will not work* for those archives!
  13. ## ***************************************************************************
  14. ## ***************************************************************************
  15. ##
  16.  
  17. Alias /es "##EPRINTSSTATS##/htdocs"
  18.  
  19. <Location "/es">
  20. DirectoryIndex index.php
  21. Allow from All
  22. # The error/debug stuff can be removed when it goes live.
  23. # or at least change the display_* to 0
  24. php_admin_value error_reporting 2047
  25. php_admin_value log_errors 1
  26. php_admin_value display_errors 1
  27. php_admin_value display_startup_errors 1
  28. php_admin_value safe_mode_gid 1
  29. # Amend as required.
  30. php_admin_value error_log "##EPRINTSSTATS##/logs/php.error.log"
  31. php_admin_value open_basedir "##EPRINTSSTATS##:##PHP_LIB##"
  32. php_admin_value include_path ".:##EPRINTSSTATS##/includes:##EPRINTSSTATS##/config:##PHP_LIB##"
  33. # These probably should not change
  34. php_admin_value gpc_order CGP
  35. php_admin_value variables_order CGPS
  36. php_admin_value arg_separator.output ';'
  37. php_admin_value arg_separator.input ';'
  38. php_admin_value session.use_only_cookies 1
  39. </Location>
  40.  
  41.