# 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