CORS setting for IE8, MKWS-77
[mkws-moved-to-github.git] / tools / apache2 / mkws-test
index 65ea77b..afb10e6 100644 (file)
@@ -3,7 +3,7 @@
 # pazpar2 / service proxy config
 <VirtualHost *:80>
     ServerName mkws-test.indexdata.com
-    ServerAlias mkws-test
+    ServerAlias mkws-test spclient-dev.indexdata.com
     ServerAdmin webmaster@indexdata.com
     ErrorLog /var/log/apache2/mkws-test-error.log
     CustomLog /var/log/apache2/mkws-test-access.log combined
     DocumentRoot /home/indexdata/mkws-test/examples/htdocs
     Alias /tools/htdocs /home/indexdata/mkws-test/tools/htdocs
 
+    # CORS setting
+    Header set Access-Control-Allow-Credentials true
+    Header set Access-Control-Allow-Origin *
+
     # compress text output
     <Location />
         AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml