Forked from NapoleonWils0n/Apache_rewrite_to_Amazon_S3.txt
Last active
July 25, 2021 23:03
-
-
Save jwhulette/1d58c1f9b0081d7951ee28ca05a4adda to your computer and use it in GitHub Desktop.
[Apache S3 Rewrite] #apache #aws
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