Apparently with Firefox I don't have the CORS problem. It doesn't work either but at least it's a different error message:
Error: Permission denied to access property 'styleSheets' styles = this._doc.styleSheets[0]; that brought me to this: http://stackoverflow.com/questions/2206586/wymeditor-across-subdomains-cross-site-permission-issue Hmm I'll try it On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote: > > Ok, here's a fun one. > > I set up a django installation on Heroku, added the django-cms app, > deployed on heroku, and collected the static files on AWS. > > The problem is Django-CMS tries to load the js file for the wymeditor but > AWS says: > > MLHttpRequest cannot load > https://s3.amazonaws.com/[...]/cms/js/wymeditor/skins/django/skin.js. > Origin [...] is not allowed by Access-Control-Allow-Origin. > > I actually searched a lot, and discovered this: > http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html > > Seems like a solution, but even if I activated it, nothing works. > > I'm at loss. It should work but it doesn't. Am I missing something here? > Maybe it doesn't work the way I thought? Should I ask AWS directly? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ejalT2r8CbUJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.