X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fapache2%2Fjasmine-dev.template;h=6d73893a87328d364dbc536ff88328daf7866c2f;hb=71a3bc5e72fdcf2a51c3d32f10b8248c0ac5399c;hp=088b7417113112944eaae6c4485335448bb00a0a;hpb=28ffd511a20843df726a646a27b0f820ed8f43e7;p=mkws-moved-to-github.git diff --git a/tools/apache2/jasmine-dev.template b/tools/apache2/jasmine-dev.template index 088b741..6d73893 100644 --- a/tools/apache2/jasmine-dev.template +++ b/tools/apache2/jasmine-dev.template @@ -1,7 +1,7 @@ # Configuration for the apache web server -*- apache -*- ##################################################################### -# global apache2 config +# global apache 2.2 config # User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} @@ -16,7 +16,9 @@ Listen ${APACHE_PORT} Include ${APACHE_MODULES} - 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 # pazpar2 / service proxy config @@ -25,12 +27,12 @@ Include ${APACHE_MODULES} ServerAlias mkws-dev a.mkws.indexdata.com a.mkws-dev.indexdata.com mkws-dev.indexdata.com 127.0.0.1 ServerAdmin webmaster@indexdata.com - ErrorLog ${APACHE_LOG_DIR}/mkws-jasmine-error.log - CustomLog ${APACHE_LOG_DIR}/mkws-jasmine-access.log combined + ErrorLog ${APACHE_LOG_DIR}/mkws-jasmine-${APACHE_PORT}-error.log + CustomLog ${APACHE_LOG_DIR}/mkws-jasmine-${APACHE_PORT}-access.log combined RewriteEngine on RewriteLogLevel 1 - RewriteLog ${APACHE_LOG_DIR}/mkws-jasmine-rewrite.log + RewriteLog ${APACHE_LOG_DIR}/mkws-jasmine-rewrite-${APACHE_PORT}.log DocumentRoot ${MKWS_ROOT}/examples/htdocs Alias /tools/htdocs ${MKWS_ROOT}/tools/htdocs