Steve (akicif) wrote,
Steve
akicif

The Power....

Just seen this on a mailing list:

To .htaccess, add:
addtype x-httpd-php .css
To your css files, add:
<? header('Content-Type: text/css');?> (corrected: thanks, drplokta)
There's one "feature" to look out for - these CSS files aren't cached, but generated each time they're served. You can either take advantage of this, or Do Stuff in httpd.conf to fix it....

Now, where's a nail I can test my nice new hammer on?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 6 comments