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

examples/apache2/mkws-examples-mike-mac

index 1f0ae6d..038c29d 100644 (file)
@@ -7,14 +7,10 @@
     Alias /test/ /Users/mike/git/work/mkws/test/
 
     <Directory />
     Alias /test/ /Users/mike/git/work/mkws/test/
 
     <Directory />
-        Allow from all
+        #Allow from all <-- This is for Apache v2.4, but for v4.4 we need ...
+       Require all granted
     </Directory>
 
     ErrorLog /var/log/apache2/mkws-examples-error.log
     CustomLog /var/log/apache2/mkws-examples-access.log combined
     </Directory>
 
     ErrorLog /var/log/apache2/mkws-examples-error.log
     CustomLog /var/log/apache2/mkws-examples-access.log combined
-
-    RewriteEngine on
-    RewriteRule      /service-proxy-auth/ http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=mkws&password=mkws [P]
-    #RewriteLog /var/log/apache2/mkws-examples-rewrite.log
-    #RewriteLogLevel 9
 </VirtualHost>
 </VirtualHost>