I wanted to include PHP in my css files, but I don't want to go site-wide and change the URL. Is it possible, using HTACCESS, to serve style.php when style.css is requested? Here's what I tried so far:
RewriteRule /_css/style.css /_css/style.php
Or, better yet: Allow me to keep the extension but have HTACCESS treat it like a PHP file? I'm not very knowledgeable with HTACCESS. Thanks for the help.
RewriteEngine on