Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 2, 2012 00:10
Show Gist options
  • Save NapoleonWils0n/3997768 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/3997768 to your computer and use it in GitHub Desktop.
apache: apache rewrite to amazon s3 bucket
<Directory "/www/sitename/folder/">
<IfModule mod_rewrite.c>
RewriteEngine ON
RewriteRule ^(.*) http://bucktname.s3.amazonaws.com/folder/$1
</IfModule>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment