Hey,
I''ve gotten attachment_fu working well with Amazon S3.
The only problem is that I don''t know how to generate public URLs that
contain my much-cooler virtual S3 host names, e.g.
''images.mydomain.com'' with the plugin.
Attachment_fu has a '':server'' configuration option, which will
change
''s3.amazonaws.com'' to whatever host name you specify.
Unfortunately, setting this to your virtually-hosted bucket name
(''images.mydomain.com'') results in a URL like this:
http://images.mydomain.com:/images.mydomain.com/path/to/file
which does not work, of course.
Does anyone know how I can configure the plug to use my slick virtual
host names and generate this:
http://images.mydomain.com/path/to/file
? Am I missing something obvious (very likely)? Or will I need to roll
my own URL-substitution scheme?
Thanks so much for any help you can provide.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---