Can I configure the s3/store robot's URL builder?

Archived from the Transloadit support forum. Originally posted on May 18, 2011; details may be outdated, see our docs for current behavior. Original thread

We have a bucket used by several of our sites that has an underscore in the name. While this generally works (you can view assets in your browser) any library that validates the URI will throw an error as hostnames cannot have underscores. Is there a way to configure the s3 robot so the URLs a returned in the http://s3.amazonaws.com/<bucket> format?

We’ve discussed just moving to a new bucket without an underscore, but as only one of several sites will be using Transloadit moving them is not an option at this point.

We had a similar request here:

https://community.transloadit.com/t/external_id/tender-questions-145

What we will do is implement a url_prefix parameter where you can put in your own url, including a bucket path prefix like in your case.

The “similar request” is this very same one :stuck_out_tongue:

But that would be great! Thanks.

Sorry, I meant to link to this ticket:

https://community.transloadit.com/t/external_id/tender-questions-113

We have implemented this feature, you can read about it here:

http://transloadit.com/blog/2011/05/new-s3-store-parameter-url-prefix

Let me know if it works for you!