WAMP not sending file headers (content-type) correctly
Posted
by Industrial
on Stack Overflow
See other posts from Stack Overflow
or by Industrial
Published on 2010-03-09T10:02:55Z
Indexed on
2010/03/09
10:06 UTC
Read the original article
Hit count: 404
Hi!
I cant get a PHP file to send correct headers at my WAMP server. Wouldn't be a problem normally except that is phpMyAdmin that is freaking out right now.
Here's the row that the file that merges the css files together in phpmyadmin uses to send the output as CSS.
header('Content-Type: text/css; charset=UTF-8');
I have also putted a .htaccess file in the phpmyadmin directory:
AddType text/css .css
Neither is working. What can I do to make sure that this file is interpreted as a CSS by firefox?
© Stack Overflow or respective owner