antoniodltm/iwg/master/sites/all/themes/visia/images/.htaccess - Htaccess File

antoniodltm/iwg/master/sites/all/themes/visia/images/.htaccess

<IfModule mod_rewrite.c>

    Options -MultiViews
      RewriteEngine on
      RewriteCond %{HTTP_COOKIE} HTTP_IS_RETINA [NC]
      RewriteCond %{REQUEST_FILENAME} !@2x
      RewriteRule ^(.*).(gif|jpg|png)$ $1@2x.$2
      # if @2x isn't available fulfill the original request
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^(.*)@2x.(gif|jpg|png)$ $1.$2

</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_COOKIE, REQUEST_FILENAME

Comments

Apache