Hello,
Has anybody had success installing the Mosso (cloudfiles) python module? I'm trying to install it and getting the following error.
python-cloudfiles-1.3.1]# python setup.py install
running install
running build
running build_py
running install_lib
byte-compiling /usr/lib/python2.3/site-packages/cloudfiles/container.py to contai...
For example, if I set some headers to download a file from my server I would do
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="downloaded.pdf"');
And then just output the data of the file
Is it possible to set a remote url in the Content-Disposition?
Example header('Content-Disposition: a...
I'm in a situation where I need to push image storage for a number of websites out to a service that can scale indefinitely (S3, CloudFiles, etc.). Up until this point we've been able to allow our users to generate custom thumbnail sizes on the fly using Python's Imaging library with some help from sorl-thumbnail in Django.
By moving ou...
If I have a domain that I wish to serve "naked" eg http://examp.le/, and efficiently with a CDN, what are my options?
The issue is that the CDNs I looked at all want you to use a CNAME so that they can do geo ip lookup. CNAMES are not meant to be served at the same level as other records, and this apparently breaks some dns resolvers. Y...
I'm getting the following exception when uploading a file to Rackspace Cloud Files:
Security Exception
Description: The application attempted to perform an operation not
allowed by the security policy. To
grant this application the required
permission please contact your system
administrator or change the
application's t...
I have a simple rack app that's designed to marshal data from Rackspace CloudFiles, however it doesn't seem to be working.
I'm a complete noob when it comes to rack, so I'm hoping someone can show me the follies of my ways.
require 'rubygems'
require 'cloudfiles'
class StreamingFile
def initialize(id)
user = "<CLOUDFILES USERNAM...
Hi - i have been using RackSpace CloudFiles to store certain images. I have the upload code working perfectly but when I try and read the image from CloudFiles it wont display it. The images wont render into the browser. The file is definitely being read as I can see the actual data from it but if I try and put in a header to render it o...
Hi all,
I'm having trouble catching exceptions when using the rackspace cloudfiles api com.mosso.cloudfiles.
I have the dll referenced and can perform actions against my cloudfiles account, but when I want to try to catch an exception such as ContainerAlreadyExistsException, I get the error The type or namespace cannot be found.
I've al...
Hi,
I am working on a Ruby on Rails app that communicates with RackSpace cloudfiles (similar to Amazon S3 but lacking some features).
Due to the lack of the availability of per-object access permissions and query string authentication, downloads to users have to be mediated through an application.
In Rails 2.3, it looks like you can ...
I am using django-storage's Mosso backend to store image files in the Rackspace CDN. However, I am facing very slow page loads due to the back and fourth of model.image_field.url lookups to the api. Does anyone know a good way to cache this value?
...
Hi,
I am using Rackspace Cloud Files as File Storage server for my application. The files that users upload must be authorized from within my application, then from a controller it would redirect to the correct Rackspace Cloud Files CDN URL. I am trying to do authorization using Rackspace Cloud Files' Referrer ACL.
So let me just add a...