Skip to main content
yaraslaud208334
Level 2
Nov 17, 2015 2:29 PM UTC
Solved

Wrong content type of css files on dispatcher on first request

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.
joerghoh
joerghohAccepted solution
Adobe Employee
Nov 17, 2015 10:11 PM UTC

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
Level 2
Nov 17, 2015 3:25 PM UTC

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

Translate
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Nov 17, 2015 10:11 PM UTC

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

Translate
yaraslaud208334
Level 2
Nov 20, 2015 9:41 AM UTC

Hi,

Thanks a lot.

Yaraslau

Translate