[MS4W-Users] CORS

Vogt, Robert (RCIS) Robert.Vogt at rcis.com
Thu Oct 6 14:34:21 EDT 2016


Apparently I DON'T have CORS configured correctly...
The error I'm getting while trying to load images from Apache...

Image from origin 'http://MyServerName:8080' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Does anyone have experience in getting this to work?

-Bob




From: MS4W-Users [mailto:ms4w-users-bounces at lists.ms4w.com] On Behalf Of Vogt, Robert (RCIS) via MS4W-Users
Sent: Tuesday, October 04, 2016 3:26 PM
To: 'ms4w-users at lists.ms4w.com'
Cc: Vogt, Robert (RCIS)
Subject: [MS4W-Users] CORS

I posted this a while ago and got some feedback to enable CORS in Apache...I believe that I have done this but I am still unable to print from
My map hosted in IIS...still getting the error...

Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.

Has anyone successfully accomplished this and willing to share your knowledge or is there some good documentation on how to do this somewhere?

-Bob

From: MS4W-Users [mailto:ms4w-users-bounces at lists.ms4w.com] On Behalf Of Vogt, Robert (RCIS) via MS4W-Users
Sent: Thursday, August 25, 2016 9:45 AM
To: ms4w-users at lists.ms4w.com<mailto:ms4w-users at lists.ms4w.com>
Cc: Vogt, Robert (RCIS)
Subject: [MS4W-Users] CORS

Hey everyone,

I'm trying to set up CORS on Apache so that I can print from a different domain with OL3.

I'm having a hard time finding the config files for Apache, any help would be appreciated
As well as any pointers form someone who's done this before.

Thank You!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/mailman/private/ms4w-users/attachments/20161006/29008184/attachment.html>


More information about the MS4W-Users mailing list