Wrong content type of css files on dispatcher on first request | Community
Skip to main content
yaraslaud208334
New Participant
November 17, 2015
Solved

Wrong content type of css files on dispatcher on first request

  • November 17, 2015
  • 3 replies
  • 2251 views

When i firstly access to any css file on my dispatcher `Content-Type` of request is `"text/hml"`.

After re access to this file request have correct `Content-Type` `"text/css"`

How to fix this problem, because akamai chashes first request with wrong content type?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

please add the statement

ModMimeUsePathInfo

to your Apache webserver configuration. See [1] for details.

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-install.html#Apache%20Web%20Server%20-%20Configure%20Apache%20Web%20Server%20for%20Dispatcher

3 replies

yaraslaud208334
New Participant
November 20, 2015

Hi,

Thanks a lot.

Yaraslau

joerghoh
joerghohAccepted solution
Employee
November 17, 2015

Hi,

please add the statement

ModMimeUsePathInfo

to your Apache webserver configuration. See [1] for details.

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-install.html#Apache%20Web%20Server%20-%20Configure%20Apache%20Web%20Server%20for%20Dispatcher

yaraslaud208334
New Participant
November 17, 2015

Seems like dispatcher returns wrong css file, and chaches normal variant.