Forum Moderators: phranque
How can I have the "uploads" directory give all requests to [images.domain.com...] which is setup as a virtual host bucket on AWS? Such that [domain.com...] really shows the image from "http://images.domain.com/image.gif".
I've tried the following .htaccess in the uploads directory, but no go:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$
RewriteRule ^uploads/(.*) [images.domain.com...] [R=301,L]
RewriteRule ^uploads/(.*)$ [images.example.com...] [QSA,L]