Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
24 lines (19 sloc) 0.669 kb
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# Option 1 (default)
# ==================
# Use this if your website runs in the root of the domain.
# i.e. http://example.com/index.html
#
RewriteBase /
RewriteCond %{HTTP:Cookie} devicePixelRatio [NC]
RewriteRule \.(?:jpe?g|gif|png|bmp)$ /retinaimages.php [NC,L]
# Option 2
# ==================
# Use this if your website runs in a sub-directory.
# i.e. http://example.com/website/directory/index.html
#
#RewriteBase /website/directory
#RewriteRule \.(?:jpe?g|gif|png|bmp)$ /website/directory/retinaimages.php [NC,L]
</IfModule>
Jump to Line
Something went wrong with that request. Please try again.