Hi, this line:
var dashpos = urlBaseArray[3].indexOf('-') causes trouble to us. We had to comment it and put: var dashpos = -1 because we use this URL to access to our Qgis Web Client (we use URL rewriting, too): http://ourserver/qgis-web-client/general/general/.... and with serverAndCGI set to: var serverAndCGI="http://ourserver/qgis-web-client/wms" the original 'dashpos' sets the wmsURI to: wmsURI = 'http://ourserver/qgis-web-client/wms/-web-client/general/ generale&_dc=1421403958538&SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings' the wrong part is: [...]/-web-client/[...] that is taken from dashpos. With dashpos = -1, it works perfectly. Can someone explain why is this daspos introduced? _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer