Create a gist now

Instantly share code, notes, and snippets.

@brichards /.htaccess
Last active Jul 27, 2017

What would you like to do?
Tell Apache to serve missing images from a remote server. Props
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^(.*\.(js|css|png|jpe?g|gif|ico))$1 [NC,P,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment