Created
September 16, 2019 19:50
-
-
Save petertoi/23fd54daf6bd160f8276a4ebe53cbdbd to your computer and use it in GitHub Desktop.
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
# Use live site assets. | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f [NC] | |
RewriteCond %{HTTP_HOST} ^local\.com$ | |
RewriteRule ^(.*\.(png|jpe?g|gif)) http://production.com/$1 [L,R=302,NC] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment