AEM5.6.1 - Wrong mime type for fonts | Community
Skip to main content
Diego_Fontan
New Participant
October 16, 2015
Solved

AEM5.6.1 - Wrong mime type for fonts

  • October 16, 2015
  • 1 reply
  • 1367 views

Right now we are facing an issue with mimetype returned by AEM hence there is some issue with look and feel.

We have tried difference ideas to resolved without any success.

1) Update httpf.conf

  • Modify this file: /etc/httpd/conf/httpf.conf adding this line : AddType application/font-woff .woff
  • Restart Apache

2) Clone an existant working dispatcher but it didn't work too

Problem explanation: 

woff, woff2 and ttf files are returning with a deprecated MimeTypes.

Below we could see in  more details about results:

===========Current return=================
[woff]
application/x-font-woff
[woff2]
application/octet-stream
[ttf]
application/x-font-ttf

===========Current return=================

 

==========Expected Return===============

 

[woff]
application/font-woff
[woff2]
application/font-woff2
[ttf]
application/font-sfnt

==========Expected Return===============

 
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 WhoaShekhar

Hi There,

Thanks for reaching out to Adobe Community. 

You can configure the accepted file format by MIME type in the OSGi (Open Service Gateway initiative) area of the AEM Web Console Configuration panel. Then, you can customize the individual upload job parameters that are used for each MIME type in the JCR (Java Content Repository). See the below documentation for more:

http://docs.adobe.com/docs/en/aem/6-0/administer/integration/marketing-cloud/scene7/config-upload-jobs.html

Thanks!

1 reply

WhoaShekhar
WhoaShekharAccepted solution
New Participant
October 16, 2015

Hi There,

Thanks for reaching out to Adobe Community. 

You can configure the accepted file format by MIME type in the OSGi (Open Service Gateway initiative) area of the AEM Web Console Configuration panel. Then, you can customize the individual upload job parameters that are used for each MIME type in the JCR (Java Content Repository). See the below documentation for more:

http://docs.adobe.com/docs/en/aem/6-0/administer/integration/marketing-cloud/scene7/config-upload-jobs.html

Thanks!