Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jwhulette/1d58c1f9b0081d7951ee28ca05a4adda to your computer and use it in GitHub Desktop.
Save jwhulette/1d58c1f9b0081d7951ee28ca05a4adda to your computer and use it in GitHub Desktop.
[Apache S3 Rewrite] #apache #aws
<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