projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use quotes for Access-Control-Allow-Origin
[mkws-moved-to-github.git]
/
tools
/
apache2
/
mkws-test
diff --git
a/tools/apache2/mkws-test
b/tools/apache2/mkws-test
index
2114884
..
8625691
100644
(file)
--- a/
tools/apache2/mkws-test
+++ b/
tools/apache2/mkws-test
@@
-15,6
+15,10
@@
DocumentRoot /home/indexdata/mkws-test/examples/htdocs
Alias /tools/htdocs /home/indexdata/mkws-test/tools/htdocs
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
# compress text output
<Location />
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml