Closed
Bug 525546
Opened 15 years ago
Closed 15 years ago
Setup preview for images being served from disk - involves vhost changes
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: davedash, Assigned: oremj)
References
Details
* Deploy new rewrite rules see configs/apache/amo.conf and directory.conf . amo.conf can be used as a tmeplate, and directory.conf can be linked straight from the repo * Disable .htaccess via AllowOverride None (.htaccess should not be used in production or preview... or anywhere ever) * Create NETAPP/uploads * symlink that to /img/uploads * The following PHP defines need to be set in config.php: define('UPLOADS_PATH', NETAPP_STORAGE.'/uploads'); define('PREVIEWS_PATH', UPLOADS_PATH.'/previews'); define('USERPICS_PATH', UPLOADS_PATH.'/userpics'); define('ADDON_ICONS_PATH', UPLOADS_PATH.'/addon_icons'); define('COLLECTION_ICONS_PATH', UPLOADS_PATH.'/collection_icons'); define('PLATFORM_ICONS_PATH', UPLOADS_PATH.'/platform_icons'); * verify that all the "defaults" are showing up nicely * change the NETAPP_DIR and if necessary the UPLOADS_DIR in dump_all_blobs.py * run it... it will take >5 hours, so do it in a screen ;) It's non-destructive so it can be run and re-run if needed.
Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → jeremy.orem+bugs
Reporter | ||
Comment 1•15 years ago
|
||
Per Wil's recommendation, we should limit our scope and stick to the .htaccess for now, so I put all the rulesets in there.
Reporter | ||
Comment 2•15 years ago
|
||
Permissions need to be set so we can read: https://preview.addons.mozilla.org/en-US/firefox/images/t/13792/1178381976
Assignee | ||
Comment 3•15 years ago
|
||
This is done.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Verified FIXED; tested on: * https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:71 * https://preview.addons.mozilla.org/en-US/firefox/addon/6076
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•