X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fapache2%2Fjasmine-dev.template;h=935ec416691024cacc91c1154664c35088788a0c;hb=9ccf24cb638639c7bac46ab3ecdc86cda94dbfcb;hp=c3fe88fc2e057edb45a18c66ae883ec14f1ae23e;hpb=72107f57026d4a677d328b000fad3b89b3c17351;p=mkws-moved-to-github.git diff --git a/tools/apache2/jasmine-dev.template b/tools/apache2/jasmine-dev.template index c3fe88f..935ec41 100644 --- a/tools/apache2/jasmine-dev.template +++ b/tools/apache2/jasmine-dev.template @@ -6,26 +6,18 @@ User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} PidFile ${APACHE_PID_FILE} +LockFile ${APACHE_LOCK_FILE} +ServerName localhost ServerRoot ${APACHE_SERVER_ROOT} NameVirtualHost *:${APACHE_PORT} Listen ${APACHE_PORT} -LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined +Include ${APACHE_MODULES} -Include /etc/apache2/mods-enabled/alias.load -Include /etc/apache2/mods-enabled/authz*.load -Include /etc/apache2/mods-enabled/proxy*.load -Include /etc/apache2/mods-enabled/rewrite.load -Include /etc/apache2/mods-enabled/headers.load -Include /etc/apache2/mods-enabled/mime.load -Include /etc/apache2/mods-enabled/deflate.load - -Include /etc/apache2/mods-enabled/alias*.conf -Include /etc/apache2/mods-enabled/authz*.conf -Include /etc/apache2/mods-enabled/proxy*.conf -Include /etc/apache2/mods-enabled/mime.conf -Include /etc/apache2/mods-enabled/deflate.conf + + #LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined + # pazpar2 / service proxy config @@ -42,6 +34,9 @@ Include /etc/apache2/mods-enabled/deflate.conf DocumentRoot ${MKWS_ROOT}/examples/htdocs Alias /tools/htdocs ${MKWS_ROOT}/tools/htdocs + Alias /src ${MKWS_ROOT}/src + Alias /test ${MKWS_ROOT}/test + Alias /jasmine ${MKWS_ROOT}/examples/jasmine # CORS setting Header set Access-Control-Allow-Credentials true @@ -59,8 +54,8 @@ Include /etc/apache2/mods-enabled/deflate.conf # mkws devel account (e.g. memached testing) RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=mkwsdev&password=mkwsdev [P] # [NE,P] - ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ - ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ + ProxyPass /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/ + ProxyPassReverse /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/ ProxyPass /pazpar2/ http://localhost:8004/pazpar2/ ProxyPassReverse /pazpar2/ http://localhost:8004/pazpar2/