Quantcast
Channel: drupal.org - Site administrators
Viewing all articles
Browse latest Browse all 426

Using Drupal 7 with Rackspace CloudFiles CDN

$
0
0

This page provides instructions for setting up Cloud Files module to upload files on Rackspace CloudFiles.

The instructions assume you already have a Rackspace Cloud file account with a Container created for storing your Drupal files.

  1. Download and Install Cloud Files module (dev version) on your Drupal site
  2. Open readme.txt from module folder and follow instructions.
  3. Download php-opencloud library files from: https://github.com/rackerlabs/php-cloudfiles and place it in sites/all/libraries/rackspace/ so that the path to cloudfiles.php is sites/all/libraries/rackspace/php-cloudfiles/cloudfiles.php
  4. Enable the module
  5. Go to /admin/config/media/cloud-files and choose appropriate authentication URL.
  6. Enter username. It will be same as your username on https://mycloud.rackspace.com/
  7. Enter the API key that you generated on https://mycloud.rackspace.com/
  8. Container name will be same as the one you saved in https://mycloud.rackspace.com/
  9. Save configuration
  10. Go to admin/config/media/file-system
  11. Select the 'default download method' as 'Rackspace cloud files' and save
  12. Go to your content type and choose manage fields
  13. Create and/or Edit image field type
  14. go to 'upload destination' and select 'rackspace cloud files' and save
  15. you are done :)

Troubleshooting:
If you can not get it to work, then please ensure that

  1. You have enabled Publish to CDN setting on your Rackspace Cloudfiles container.
  2. Your API Key, Container and Location settings are correct.

Viewing all articles
Browse latest Browse all 426

Trending Articles