Expand my Community achievements bar.

Publish returns the right mime type for fonts and Dispatcher returns wrong one

Avatar

Level 1

Hi everyone,

How are you?

Currently, we have Author -> Publish -> Dispatch structure. I found an issue that is for the font assets (*.woff), Publish returns the Content-Type: application/x-font-woff in the Http response header but the Dispatcher returns Content-Type: text/plain instead.

I checked the Apache config and it had ModMimeUsePathInfo ON.

Is there any configuration I missed to make Dispatcher behave in this way?

Regards,

Wei

2 Replies

Avatar

Employee

Can you check on the dispatcher machine whether woff is configured as mime type?

Usually there is a mime config file on the operating system.

Avatar

Employee

Can you check in /etc/mime.types? This is used by httpd.