Tweak for MacOS 10.10 and its Apache 2.4 installation:
authorMike Taylor <mike@indexdata.com>
Thu, 15 Jan 2015 19:58:55 +0000 (19:58 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 15 Jan 2015 19:58:55 +0000 (19:58 +0000)
- Remove rewrite rules (no longer needed anyway)
- Use "Require all granted" instead of "Allow from all"

tools/apache2/mkws-mike-mac

index 7db0c62..21192c5 100644 (file)
     Alias /libjs-pz2/ /Users/mike/git/work/libjs-pz2/
     Alias /pazpar2/ /Users/mike/git/work/pazpar2/
 
-    RewriteEngine on
-    RewriteLogLevel 1
-    RewriteLog /var/log/apache2/spclient-rewrite.log 
-    RewriteRule /service-proxy-auth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
-
     # For MKC Service Proxy
     ProxyPass        /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
     ProxyPassReverse /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
 
     # Needed on Mac, which locks Apache down hard by default.
     <Directory />
-        Allow from all
+       Require all granted
     </Directory>
 </VirtualHost>