The OS is, in particular, RHEL6, working with Apache2.
So, in my Apache configuration, I have:
LoadModule mime_module modules/mod_mime.so
And in /etc/mime.typesI have the following:
application/json json
However, when requesting a file with the extension .json(and containing a valid JSON), the content type is set to text/html. Any idea how I can get the correct header for this file type?
Peter source
share