nickolanack/mod-rewrite-asset-tint/master/asset-tint/.htaccess - Htaccess File

nickolanack/mod-rewrite-asset-tint/master/asset-tint/.htaccess

#Redirect all image queries with url variable 'tint' to be processed by image.php
RewriteEngine on
RewriteCond %{QUERY_STRING} tint=(.*)
RewriteRule ^(.+).(png|jpg|jpeg|gif)$ asset.php?file=$1.$2&tint=%1

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING

Comments

Apache