Extension:SwiftCloudFiles

SwiftCloudFiles uses the Swift Backend that is built into the new wiki core (1.20+). Uploaded files are stored across a swift files container system that allows for a multiple point-of-failure configuration and reduces the risk of data corruption or loss. In a typical wiki configuration, files that are uploaded live in a single that a wiki administrator must maintain. When using a single server, that server provides a single point of failure to all uploaded files. In today's fast-paced world, that can slow down an administrator significantly when he is responsible for syncing, backing-up and or restoring files. With this extension, a wiki administrator can build a private swift instance or utilize a system such as Rackspace Cloud Files for their uploads. The configuration examples below are operational with a Rackspace CloudFiles instance, however they should work with a private swift instance as well. Jwestyp (talk) 21:42, 27 June 2012 (UTC)

Prerequisites
Required PHP extensions:
 * curl (apt-get install php5-curl)
 * fileinfo
 * mb_string

Extension

 * 1) Use the download links above to download the package.
 * 2) Place in your extensions directory, i.e. http://www.domain.com/w/extensions/.
 * 3) You will need to create private credentials file
 * 4) You will need to add configuration settings to the LocalSettings.php file.

Private Credentials File
Below is an example of the wgAuth.php file that you would have included in a private folder. This folder should be located outside the webroot on your server. If you webroot is located at '/var/www/html/' then a good place for the private folder at '/var/www/private/'.

Settings information
from /includes/filebackend/SwiftFileBackend.php

from /includes/filebackend/FileBackend.php

Further Info
For more information on the configuration settings used in this extension, visit Manual:Configuration_settings