Download & Extend

Add possibility to use CNAME domains/Custom "Base URL"

Project:Storage API
Version:7.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Hey there,

I think it would be great if it was possible to use custom domains for the storage urls. Most providers (Rackspace, Amazon) offer this possibility with their services.

I. e. make it possible to use cdn.mydomain.com for a container instead of abcdefghijklmnop-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxx.xxx.rackcdn.com.

Comments

#1

Status:active» needs review

I have attached a patch for rackspace.inc which adds a field where you can either enter your default CDN url or a custom url that you have configured to work via CNAME.
It would be great if this could be included in the official branch :)

AttachmentSize
rackspace-base-url.inc.patch 1018 bytes

#2

#3

I think the AmazonS3 module has a cname as well. Maybe we could implement that as well.

#4

Already did it: http://drupalcode.org/project/storage_api.git/commitdiff/d1bae45

But not yet for CloudFront.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#6

Status:closed (fixed)» needs work

Functionality hasn't been added for Cloudfront yet! I'm marking this as active, unless you want me to open a new issue. Would be nice to get this support in as I'm switching from the Amazon S3 Module to this!