X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=etc%2Fapache2%2Fspclient-mike;h=44efb2b7a7c4178e3d610d8323a3c2182a4ec218;hb=541ef12c3ee6d23bcde95dff55f9cc364794d27b;hp=9015f85b27385bb5c398684ade8b1f5822be03f9;hpb=7ea0edfa53ddfdcf03ae0a73e71a5f748d7c4c8f;p=mkws-moved-to-github.git diff --git a/etc/apache2/spclient-mike b/etc/apache2/spclient-mike index 9015f85..44efb2b 100644 --- a/etc/apache2/spclient-mike +++ b/etc/apache2/spclient-mike @@ -1,23 +1,18 @@ -# Configuration for the apache web server -*- apache -*- +# Configuration for the apache web server # Running on Mike's local development box -# This file is a variant of "spdemo" -# pazpar2 / service proxy config ServerName x.spclient.indexdata.com ErrorLog /var/log/apache2/spclient-error.log CustomLog /var/log/apache2/spclient-access.log combined - RewriteEngine on - RewriteLogLevel 1 - RewriteLog /var/log/apache2/spclient-rewrite.log - DocumentRoot /usr/local/src/git/mkws/experiments/spclient/ Alias /libjs-pz2/ /usr/local/src/git/libjs-pz2/ - Alias /indexdata_logo.png /usr/local/src/git/pazpar2/www/jsdemo/indexdata_logo.png - Alias /styles.css /usr/local/src/git/pazpar2/www/jsdemo/styles.css - RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P] + RewriteEngine on + RewriteLogLevel 1 + RewriteLog /var/log/apache2/spclient-rewrite.log + RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P] # For MKC Service Proxy ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ @@ -26,4 +21,9 @@ # For local Service Proxy running as mvn jetty:run #ProxyPass /service-proxy/ http://localhost:8585/service-proxy/ #ProxyPassReverse /service-proxy/ http://localhost:8585/service-proxy/ + + # Needed on Mac, which locks Apache down hard by default. + + Allow from all +