- Added notes on how to (finally!) get things working.
1 parent 6fc9580 commit 250d4e02cbeea8aac84a41887693f86190245657
nstanger authored on 23 Nov 2005
Showing 1 changed file
View
15
EPrints/ePrintsStats setup.txt
First:
 
% fink install geoip
% cpan install Geo::IPfree
 
 
Configuration
 
config/inc.vars.es.php
 
scripts/eprints-usage.php
 
* $log_dir => /sw/var/apache2/logs/ (or possibly /var/log/httpd/)
* $log_file: "UTasER" => "OUEPrints" or some such
* $log_file: "UTasER" => stats datavase name ("otago_eprints")
* $sqlserver => stats database server
* $sqlpass => stats database password
* $sqlserver2 => EPrints database server
* $sqluser2 => otago_eprints
php_admin_value include_path ".:/usr/local/eprints/ePrintsStats/includes:/usr/local/eprints/ePrintsStats/config:/usr/local/lib/php"
(may need to change php lib paths depending on environment, e.g., on
my machine it's /sw/lib/php4)
 
 
EPrints config changes
 
EXTREMELY IMPORTANT! Add '/es' to rewrite_exceptions.
Set use_short_urls to 0 as ePrintsStats expects "long" URLs in the log file.
In otago_eprints/cfg/apachevhost.conf:
Include /usr/local/eprints/ePrintsStats/vhost/apache.conf
 
 
Geo::IPfree config
 
% cd <PERL5LIB>/Geo