diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-03-22 21:26:19 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-03-22 21:26:19 +0100 |
commit | f42bc98eefea7e7f113070bb5b9081f14bc3684a (patch) | |
tree | 1ee7d0c64ea2ebb1b10c0cb03fe88bed086545e2 /images/ico-freebsd.png | |
parent | a89c396c01398878f69e4c4a191a8b32ac080646 (diff) | |
download | website-f42bc98eefea7e7f113070bb5b9081f14bc3684a.tar.gz website-f42bc98eefea7e7f113070bb5b9081f14bc3684a.tar.bz2 website-f42bc98eefea7e7f113070bb5b9081f14bc3684a.tar.xz website-f42bc98eefea7e7f113070bb5b9081f14bc3684a.zip |
Use jQuery to dynamically load the news into the static site
For this to work, the news.html file needs to be served with the header
Access-Control-Allow-Origin, in order to allow the site to display it.
Something like that in a .htaccess file should do:
<FilesMatch "news.html$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Diffstat (limited to 'images/ico-freebsd.png')
0 files changed, 0 insertions, 0 deletions