Closed Bug 614436 Opened 14 years ago Closed 14 years ago

Set up fake CDN host for nova.stage.m.c

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: abuchanan, Assigned: fox2mike)

References

()

Details

On www-trunk.stage.m.c, we've set up a fake CDN prefix (/cdn/) and set that in config.inc.php ($config['static_prefix']) so that QA can see which assets are being pulled from the CDN.

Could you do this for nova.stage.m.c please?  

Thanks
Assignee: server-ops → shyam
Done!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
On every page, /includes/min/min.js?g=js_stats is prefixed with $config['static_prefix'] . But on http://nova.stage.mozilla.com/en-US/firefox/ , it is not prefixed with cdn/ so something is not properly configured here.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Then how is http://nova.stage.mozilla.com/cdn/img/covehead/404-page/background-404.png working, for example? I'm still sure this is setup as you've requested, not sure if you guys left a step out.
The URLs are working ok.

The missing step is that the PHP should give us URLs prefixed with cdn/. This is controlled by $config['static_prefix'] in config.inc.php. This is my guess, maybe there is something else.
The config setting is there, just like www-trunk. 

$config['static_prefix'] = '/cdn';
Okay, I'd declared this twice (didn't know the file already had the setting).

Should be fixed now.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Thanks, working great.
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.