16 Jan 2012 15:05
Re: [foaf-dev] Enabling CORS on xmlns.com for browser .js access to FOAF and WOT vocab documentation
On 16 January 2012 11:27, Dan Brickley <danbri2011@...> wrote: > > > > > On 16 Jan 2012, at 11:23, Michael Hausenblas <michael.hausenblas@...> wrote: > >> >> Did you check http://enable-cors.org/#how-apache already? >> > > Yup, and checked with the checktastic checker too. Those docs led me to use a virtualhost-wide 'set' header instruction instead of a per-directory .htaccess 'add'... From Joe Header always set Access-Control-Allow-Origin * RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.*) http://xmlns.com/foaf/0.1/$1 [R=303] > > Dan > >> Cheers, >> Michael >> -- >> Dr. Michael Hausenblas, Research Fellow >> LiDRC - Linked Data Research Centre >> DERI - Digital Enterprise Research Institute(Continue reading)
RSS Feed