help:
@echo "make [ all | setup | clean | distclean ]"
@echo " [ check | check-js | phantomjs ]"
+ @echo "If 'make check' timeout is too short, extend with: make check PHANTOMJS_TIMEOUT=40"
-node_modules
+libexec
logs/error_log
logs/jasmine-dev
logs/mkws-jasmine-access.log
logs/mkws-jasmine-error.log
logs/mkws-jasmine-rewrite.log
logs/mkws-jasmine.pid
+node_modules
BSD::Resource::setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n";
};
if ($@) {
- warn "Please install the package BSD::Resource!\n\n$@\n";
+ warn "WARNING: things would go more nicely with the BSD::Resource package\n";
}
Include ${APACHE_MODULES}
<IfModule log_config_module>
- LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
+ # %O only works if mod_logio is enabled, which it isn't on Mike's MacBook
+ # LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
+ LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s \"%{Referer}i\" \"%{User-Agent}i\"" combined
</IfModule>
# pazpar2 / service proxy config
Header set Access-Control-Allow-Credentials true
ProxyPreserveHost On
- # We could use any of the following:
- # sp-mkc.indexdata.com/service-proxy/ -- multiplexer
- # sp-mkc-sansa.indexdata.com:8080/service-proxy/ -- 1st back-end server
- # sp-mkc-arya.indexdata.com:8080/service-proxy/ -- 2nd back-end server
- ProxyPass /service-proxy/ http://sp-mkc-sansa.indexdata.com:8080/service-proxy/
- ProxyPassReverse /service-proxy/ http://sp-mkc-sansa.indexdata.com:8080/service-proxy/
+ ProxyPass /service-proxy/ http://sp-mkws-backend.indexdata.com:8080/service-proxy/
+ ProxyPassReverse /service-proxy/ http://sp-mkws-backend.indexdata.com:8080/service-proxy/
PerlOptions +Parent
PerlSwitches -I/home/indexdata/mkws/tools/mod_perl
plugins.authn = com.indexdata.serviceproxy.plugins.AuthNTorusPlugin
plugins.categories = com.indexdata.serviceproxy.plugins.TargetCategoriesPlugin
plugins.ils = com.indexdata.serviceproxy.plugins.ILSPlugin
+plugins.statistics = com.indexdata.serviceproxy.plugins.StatisticsPlugin
# Configuration properties for individual plug-ins
chains.categories = categories
chains.ils = ils
# Map all other commands to the Pazpar2 relayer
-chains.* = relay
+chains.* = relay,statistics
# Just so I can check that this particular SP config is in use