I am using OpenLayers 2.12, GeoServer 2.4.0, GeoExt 1.1 and Ext JS 3.4.1. I installed the MapFish printing servlet for printing. I am trying to print vector data, so the information sent in the request is too long to use GET. I have setup the printing to send a POST request, but I get the following error:
XMLHttpRequest cannot load http://www.mydomain.com:8080/print/pdf/create.json. Origin http://www.mydomain.com is not allowed by Access-Control-Allow-Origin. I am using a ProxyHost as described at the link below: http://trac.osgeo.org/openlayers/browser/trunk/openlayers/examples/proxy.cgi I don't understand why the proxy does not allow the request to go through. Both www.mydomain.com and www.mydomain.com:8080 are in the allowedHosts section of the proxy file. Has anyone else experienced this problem, and how did you fix it? Thanks, Jerome Wendell
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users