Forked from NapoleonWils0n/Apache_rewrite_to_Amazon_S3.txt
Created
January 29, 2016 22:20
-
-
Save UtahDave/6705086c719b9805caee to your computer and use it in GitHub Desktop.
apache: apache rewrite to amazon s3 bucket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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