CORS setting for IE8, MKWS-77
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 23 Jan 2014 15:01:01 +0000 (15:01 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 23 Jan 2014 15:01:01 +0000 (15:01 +0000)
tools/apache2/mkws-dev
tools/apache2/mkws-test

index d3d195f..d059e7f 100644 (file)
     DocumentRoot /home/indexdata/mkws-dev/examples/htdocs
     Alias /tools/htdocs /home/indexdata/mkws-dev/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
index 2114884..afb10e6 100644 (file)
     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