Jump to content

Recommended Posts

I'm using Apache and am having an issue with the GET response header for my CSS file (others for images etc are working just fine).

 

The results from a header HTTP watcher app I use:

 

00:00:03.614	0.110	483	5498	GET	200	text/css	https://____/stylesheet.css
00:00:03.744	0.102	544	5498	GET	200	text/css (NS_IMAGELIB_ERROR_NO_DECODER)	https://____/stylesheet.css

 

(I used _____ to hide the url to my site)

 

It seems to me that it an issue with MIME types on the Apache server?

 

My Apache file includes this block:

 

<IfModule mod_mime.c>
AddType text/css;charset=UTF-8 .css
</IfModule>

 

Any great ideas for this issue?

Oddly enough, that appears to be an error code associated with something Mozilla makes.

 

 

https://developer.mozilla.org/en/Table_Of_Errors

 

 

 

>.<

 

 

 

If you take out the charset=UTF-8 part of the AddType command, do you still get that?

 

 

I'm not sure if AddType type;other_attribs ext is valid...  I think you might only be able to specify a type there.

 

 

Edit: Oh, if that is the problem, you could do:

 

AddCharset UTF-8 .css

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.