Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...


Enabling CORS (site specific)


I note on our store that we constantly get a Cross Domain error when getting the GoDaddy Seal that appears near the bottom of every page.  I have read a bit about CORS and have tried to implement it (to no avail) in my web.config like so:

        <location path="http path to godaddy which keeps getting interepreted as an URL when posted here">
                          <add name="Access-Control-Allow-Origin" value="*" />
                          <add name="Access-Control-Allow-Methods" value="GET" />
                          <add name="Access-Control-Allow-Headers" value="Content-Type" />

I get a 500 error with the above - because of the <location> tag.  I also tried just adding everything within the <httpProtocol> tags within the already existing <system.WebServer> tag.  Had that actually worked, I wouldn't want to leave it like that as it eliminates the restrictions to just the GoDaddy seal site, but it doesn't matter, because I still get the Cross Domain error anyway.  Has anyone out there been able to successfully implement a restricted CORS on their site? If so - how?  Thanks!

NOTE:  I am on IIS 7 server running .Net 3.5

asked Nov 13, 2014 in MultiStore by june (545 points)
edited Nov 14, 2014 by june

Please log in or register to answer this question.