X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fapache2%2Fmkws-test;h=86256913f5fe5eda52eb71254b93ba36597cda2d;hb=10792e58f76ed88fcfff475ee71fbf4933ee7a65;hp=65ea77b5a245324bf7e2bd5c379c342ad8b8db03;hpb=d9d6252b95153b1fc823aac9f8d75ad82e88739d;p=mkws-moved-to-github.git diff --git a/tools/apache2/mkws-test b/tools/apache2/mkws-test index 65ea77b..8625691 100644 --- a/tools/apache2/mkws-test +++ b/tools/apache2/mkws-test @@ -3,7 +3,7 @@ # pazpar2 / service proxy config 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 @@ -15,6 +15,10 @@ 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 AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml