Is it possible to perform some magic such that all images are automatically stored on a different server?
I don't mean this as a backup tool, but so that an installation's pictures get served from an alternate (and unmetered, but slower) server.
Yes; see http://meta.wikimedia.org/wiki/DefaultSettings.php - scroll down and look for the $wgSharedUpload bit, then shove that stuff in LocalSettings.php.
You will need to have some way of synchronising images OFF the main server (to which they are backed up) or else permit uploads to that second server.
Rob Church
On 12/10/05, Sy Ali sy1234@gmail.com wrote:
Is it possible to perform some magic such that all images are automatically stored on a different server?
I don't mean this as a backup tool, but so that an installation's pictures get served from an alternate (and unmetered, but slower) server. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Sy Ali wrote:
Is it possible to perform some magic such that all images are automatically stored on a different server?
I don't mean this as a backup tool, but so that an installation's pictures get served from an alternate (and unmetered, but slower) server.
To serve the files from a different HTTP server, you can set $wgUploadPath with a complete URL (http://example.com/images).
To get the files over there, use a networked filesystem such as NFS. (You might be able to use some kind of synchronization or caching copy instead, but this can be harder to maintain without modifying the wiki to send necessary updates when files change.)
-- brion vibber (brion @ pobox.com)
Thanks Rob/Brian.. I'll take a look into this stuff. It looks to be a lot easier than I thought it would be. =)
mediawiki-l@lists.wikimedia.org