RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule "(.*)\.css$" retro-compat.css.php?file=$1.css [QSA,L]