Serve 'file.php' when 'file.css' is requested
snippet in htaccess

Serve 'file.php' when 'file.css' is requested

user1895

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^_css/([^/]+)\.css$ /_css/$1.php [L]