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)

All
Other
task
Not set
major

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: server-ops → jeremy.orem+bugs
Per Wil's recommendation, we should limit our scope and stick to the .htaccess for now, so I put all the rulesets in there.
This is done.
Status: NEW → RESOLVED
Closed: 15 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.