Alexandre Carette Posted July 26, 2017 Share Posted July 26, 2017 (edited) Bonjour tout le monde,J'ai un petit problème lorsque j'active la concatenation CSS d'un de mes sites Access to Font at 'https://monsite.com/modules/montheme/views/fonts/fontawesome-webfont.ttf' from origin 'https://www.monsite.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'https://www.monsite.com' is therefore not allowed access. Mon .htaccess comporte bien <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> et le module headers est bien activé sur le serveur... Quelqu'un peut il me faire une suggestion ? merci beaucoup Edited July 26, 2017 by Alexandre Carette (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now