Difference between revisions of "Brian Notes"

From Brian Nelson Ramblings
Jump to: navigation, search
m
Line 14: Line 14:
  
 
Magento Error - Can not view Images in CMS block with wysiwyg editor on, need to enable allow_url_fopen in php.ini
 
Magento Error - Can not view Images in CMS block with wysiwyg editor on, need to enable allow_url_fopen in php.ini
 +
 +
 +
Looks like we need
 +
 +
<FilesMatch "\.(js|png)$">
 +
<IfModule mod_headers.c>
 +
Header set Access-Control-Allow-Origin "*"
 +
</IfModule>
 +
</FilesMatch>

Revision as of 13:54, 5 December 2013

Customer Needs uploads.google.com rules in the firewall

whois uploads.google.com

Grab the ipaddress from the whois and then do a whois on the ipaddress and grep from CIDR

whois 74.125.139.116 | grep CIDR

Results

CIDR:           74.125.0.0/16
http://24x7servermanagement.com/blog/?p=845

Magento Error - Can not view Images in CMS block with wysiwyg editor on, need to enable allow_url_fopen in php.ini


Looks like we need

<FilesMatch "\.(js|png)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>