Closed Bug 394207 Opened 17 years ago Closed 17 years ago

add Content-Access-Control header to static json.js file on tinderbox.mozilla.org

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: justdave)

Details

In bug 393401 I added the Content-Access-Control header for the new JSON output format, to allow cross-site XMLHttpRequest access. Unfortunately this doesn't get the header added in the static json.js file. We can easily add this header using mod_headers in apache, like so (in .htaccess): <Files "json.js"> Header set Content-Access-Control "allow <*>" </Files> Obviously mod_headers.so needs to be loaded in the apache config.
Assignee: server-ops → justdave
Done.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.