Hi Michal, That should work: 'http://localhost/cgi-bin/mapserv.exe?map=d:/ProgramData/Apache/blue_county/ wms_demo.map&'
Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Michal Seidl Gesendet: Samstag, 22. August 2009 15:58 An: [email protected] Betreff: [OpenLayers-Users] How set Mapserver WMS URL to work on Windows? Ho I can not figure out how to correctly set the WMS url? I have to set the Mapserver map file location as a URL part. var wms_baseLayer = new OpenLayers.Layer.WMS( "WMS UMN Mapserver on Windows box", 'http://localhost/cgi-bin/mapserv.exe?map=d:\\\ProgramData\\\Apache\\\blue_c ounty\\\wms_demo.map&', ... I finally found that three '\' works fine so far the last backslash with first latter is not a special character. In my case I have problem with \\\blue_county -> \%08lue_county\ but should be \blue_county\ Any advise? Thanks Michal -- View this message in context: http://n2.nabble.com/How-set-Mapserver-WMS-URL-to-work-on-Windows-tp3495129p 3495129.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
