[OpenLayers-Users] How set Mapserver WMS URL to work on Windows?

Michal Seidl michal.seidl at gmail.com
Sat Aug 22 09:58:03 EDT 2009


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_county\\\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-tp3495129p3495129.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list