Mobile app version of vmapp.org
Login or Join
Speyer207

: The examples you shared here don't require rewriterules on amazon s3 itself, the redirections all happen on the www.example.com site: so either in .htaccess or vhost conf or httpd.conf: Options

@Speyer207

The examples you shared here don't require rewriterules on amazon s3 itself, the redirections all happen on the example.com site: so either in .htaccess or vhost conf or httpd.conf:

Options +FollowSymlinks
RewriteEngine On
RewriteRule ^/(about|welcome|contact).html$ mybucket.s3.amazon.com/index.html [R,L]


Granted, this will change the URL shown in the browser. If you want to do this without it being so apparent to the end user, then as @piers says, you will need to add a cname for your bucket on s3. and then reference/link to these files at your new mybucketalias.example.com/index.html address.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Speyer207

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme