Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1100749
    verobeachmarketing
    Participant

    http://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.

    #1100750
    verobeachmarketing
    Participant

    Look at the footer of the site near the text link and you will see the two boxes.

    #1100776
    verobeachmarketing
    Participant
    #1100779
    Thai
    Moderator

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

    #1100839
    verobeachmarketing
    Participant

    That was the FIX. Thank you. Much appreciated.

    #1100854
    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

    #1120272
    mgalindo
    Participant

    I’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.

    #1120682
    Rad
    Moderator

    Hi 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!

    #1123250
    mgalindo
    Participant

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

    #1123362
    Nico
    Moderator

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

    #1129198
    mgalindo
    Participant

    So 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 apache

    This 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!

    #1129556
    Friech
    Moderator

    Thank you for the info, have a happy weekend.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1100749 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>