Closed Bug 611349 Opened 14 years ago Closed 14 years ago

[amo] Move amo/files to amo/_files

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: oremj)

References

Details

We added /files in bug 590821.  But that busted some old remora urls (bug 611116), so let's change that to /_files.  This is controlled through settings.py in zamboni, so we don't need to change any code.

We should add the /_files/ alias without removing /files/ so there's no in-between state where downloads are failing.  Since /files/ links are going to be embedded in cached pages and in people's open browsers, I'll file a separate bug for dropping that after a few hours.

1. Add aliases for /_files/ and /_files/_attachments/.
2. Change LOCAL_MIRROR_URL in settings_local.py to point to /_files/.
3. Push Apache and zamboni changes.
Blocks: 611116
Assignee: server-ops → jeremy.orem+bugs
Is this going to bust stats?
This is an internal path we added for zamboni, so metrics doesn't know/care about it.
Severity: minor → normal
Changes are out. /files/ is still in place in production, but config has been changed.
What else is left here? Just removing the /files/ Alias?
(In reply to comment #4)
> What else is left here? Just removing the /files/ Alias?

Yes.
Removed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.