atvdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Amazon S3 Uploads] [Plugin: Amazon S3 Uploads] Not SSL/HTTPS compatibleI updated the .htacces and the S3 php class, so now it should work.
However the different url format that you suggest, I think will not work for all the bucket regions, because for Europe buckets you must use https://bucket-name.s3.amazonaws.com/
If you want an example the following image is on eu bucket
https://media.matfashion.com.s3.amazonaws.com/wpshop/2012/01/8negrodjplugman8negro.jpg
https://s3.amazonaws.com/media.matfashion.com/wpshop/2012/01/8negrodjplugman8negro.jpgAbout your questions,
1) the .htaccess is created in the uploads directory, as it must make changes only to the files requested from that directory
2) If you turn off the plugin, the cron job will stop, images that are already on the Amazon S3 remain there and are streamed from Amazon, new images that you will upload will be stored on your server and streamed from your server.If you want all your files to be again on your server, you will have to manually download them from Amazon S3 selected bucket (and subfolder if applied) to your uploads folder. Folders on your server and on Amazon S3 are maintained the same eg.
http://example.com/wp-content/uploads/2011/10/some_file.jpg
on Amazon S3 it is stored
{amazon_bucket_name}/{chosen_subdirectory}/2011/10/some_file.jpgCheers!
Hi,
Amazon S3 Uploads does exactly what you ask, it uploads all you content from http://www.example.com/wp-content/uploads/ to Amazon S3, deletes the uploaded files from your server and everytime that a file like http://www.example.com/wp-content/uploads/file.jpg is requested, it automaticaly redirects to the file that is on Amazon S3.If you have installed the Amazon S3 Uploads plugin and you see that there are same files on Amazon S3 and on your server, then the plugin must have a bug…
Be aware that files from your server are uploaded to the Amazon S3 via cron job and not immediately. So you will have to wait some minutes (around 10) to see results.