Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM5.6.1 - Wrong mime type for fonts

Avatar

Level 4

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===============

 
1 Accepted Solution

Avatar

Correct answer by
Level 10

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-jo...

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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-jo...

Thanks!