S3 with Multisite…
-
I can’t help it, I have delusions of grandeur and want my site to scale without tons of headaches. I want to host all of my media (images) on S3 so that the load on my server is only serving the pages themselves. I have media.groceryvine.com for my S3 and just plain old groceryvine.com that goes to my dedicated server.
My idea was to have a shell script that uploads anything new to S3 every few minutes and use .htaccess to rewrite groceryvine.com/wp-content/uploads to media.groceryvine.com/uploads. (same for the blogs.dir)
That way when I upload a new photo on my server it gets uploaded to S3 and when the user pulls the site it comes from S3 rather than my server. Then if for some reason S3 goes down or I want to stop using S3 I just swap out the .htaccess and bam… back to serving the content from my server.
Input? will it work how I invision it? and more important… can I get some help with the .htaccess?
- The topic ‘S3 with Multisite…’ is closed to new replies.