Tagged: x
-
AuthorPosts
-
July 24, 2016 at 10:41 am #1100749
verobeachmarketingParticipanthttp://bellewoodplantation.com
All icons for social media are broken after setting up CDN.
I can see several others with this issue and I have attempted public solutions. I can see many responses were private so I am not able to resolve this myself and would appreciate any assistance in this matter.
Each CDN has broken icons etc.
July 24, 2016 at 10:42 am #1100750
verobeachmarketingParticipantLook at the footer of the site near the text link and you will see the two boxes.
July 24, 2016 at 11:09 am #1100776
verobeachmarketingParticipantThese resources will not load.
July 24, 2016 at 11:13 am #1100779
ThaiModeratorHi There,
I can see this error:
Font from origin 'http://cdn1.bellewoodplantation.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bellewoodplantation.com' is therefore not allowed access.Look likes your host doesn’t allow for the cross-origin.
Please add this in .htaccess file:<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule>Hope it helps.
July 24, 2016 at 12:16 pm #1100839
verobeachmarketingParticipantThat was the FIX. Thank you. Much appreciated.
July 24, 2016 at 12:33 pm #1100854
ThaiModeratorYou’re most welcome 🙂
If you need anything else please let us know.
August 6, 2016 at 11:37 am #1120272
mgalindoParticipantI’m also having this issue with this site: http://www.thevintageoutfitters.com
I attempted the fix above by editing the htaccess.conf file (Bitnami uses this instead of .htaccess), but with no such luck.
Any help would be appreciated.
August 7, 2016 at 2:39 am #1120682
RadModeratorHi there,
I just checked and yes, the change you made is not effective. Unfortunately, I’m not sure why it’s not taking effect, could it be you’re editing different htaccess file? How about contacting your hosting provider? They may also help you regarding font cross-origin issue.
Thanks!
August 9, 2016 at 1:02 am #1123250
mgalindoParticipantThis is an Bitnami AWS AMI I’m using and hosting on EC2.
I’m going down the rabbit hole of trying to figure out why I can’t seem to allow the cross-origin. Hopefully I can find some answers soon, I’m guessing there’s something superseding the Access-Control-Allow-Origin statement in another file I can’t find. I’ve also posted to Bitnami’s support page as well, but no luck there yet.
Thank you for your help.
August 9, 2016 at 3:21 am #1123362
NicoModeratorHi There,
Upon checking all over the web, I could not see any website or forum on how to fix the issue specific to your hosting. Best thing to do is to wait for the reply of your hosting support or to follow them to figure this problem.
Let us know if there is already a reply so we could check it out also.
Thanks.
August 12, 2016 at 3:56 pm #1129198
mgalindoParticipantSo Bitnami’s server setup is a little odd in how they handle htaccess (at least to me).
If anyone else finds this and is looking for an answer, here’s what I did:
Navigate to “/opt/bitnami/apache2/conf/”
Add the below code to httpd.conf in the following section <Directory “/opt/bitnami/apache2/htdocs”>:
Header set Access-Control-Allow-Origin "*"Don’t specify module headers, I don’t know why, but in their server setup it breaks the cross-origin permissions somehow.
Restart Apache by using:
sudo /opt/bitnami/ctlscript.sh restart apacheThis should solve cross origin on this type of server setup. Also, double check in the Cloudfront Distribution and ensure that in the Behaviors tab that they Forward Headers option is set to None.
Hope this helps anyone who might be having the same issue!
August 12, 2016 at 10:10 pm #1129556
FriechModeratorThank you for the info, have a happy weekend.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1100749 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
