X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fapache2%2Fjasmine-dev.template;h=6ec427f60bbbd50654eddbf8c58e04d0c6f4f238;hb=11cdce6a5654ac6a54938e6faa1b2539c3b5729d;hp=acf7cf4a5b18b12ecd3a432e2532db0a8b7e3160;hpb=e850cdee49ac6ed4eb742584cb866c7cd9cf6dab;p=mkws-moved-to-github.git diff --git a/tools/apache2/jasmine-dev.template b/tools/apache2/jasmine-dev.template index acf7cf4..6ec427f 100644 --- a/tools/apache2/jasmine-dev.template +++ b/tools/apache2/jasmine-dev.template @@ -7,6 +7,7 @@ User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} PidFile ${APACHE_PID_FILE} LockFile ${APACHE_LOCK_FILE} +ErrorLog ${APACHE_LOG_DIR}/error-${APACHE_PORT}.log ServerName localhost ServerRoot ${APACHE_SERVER_ROOT} @@ -16,7 +17,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 +28,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-error-${APACHE_PORT}.log + CustomLog ${APACHE_LOG_DIR}/mkws-jasmine-access-${APACHE_PORT}.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