I want to change Content-Type of the default in php
        Posted  
        
            by ffffff
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ffffff
        
        
        
        Published on 2009-06-15T01:25:02Z
        Indexed on 
            2010/03/18
            14:01 UTC
        
        
        Read the original article
        Hit count: 373
        
I mention it in httpd.conf as follows to let you interpret css as php
<FilesMatch "\.css$">
   ForceType application/x-httpd-php
</FilesMatch
Content-Type is output as text/html and is troubled. Therefore I added the next cord to the top of the css file.
<?php header("Content-Type: text/css"); ?>
It's not cool... Do you know how to output text/css ?
© Stack Overflow or respective owner