<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML-esimuotoiltu Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTML-esimuotoiltuChar
        {mso-style-name:"HTML-esimuotoiltu Char";
        mso-style-priority:99;
        mso-style-link:HTML-esimuotoiltu;
        font-family:Consolas;
        mso-fareast-language:FI;}
span.Shkpostityyli21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I do understand what you want to do  with GetCapabilities. What I tried to ask is why there is different path to the
 mapfile it the two requests:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">map=c://ms4w/apps/webgis/wms.map
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">map=c://ms4w/apps/webgis/mp/wms.map<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Is it just a typo, have you changed the location of  the mapfile, do you have two mapfiles in different places?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">-Jukka-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">rishi wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">"</span><span style="font-size:11.5pt;font-family:"Helvetica","sans-serif""><a href="http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities" target="_blank"><span lang="EN-US" style="color:#358DAA;border:none windowtext 1.0pt;padding:0cm;text-decoration:none">http://localhost:8085/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities</span></a></span><span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">"
 i am trying to display xml format using this url</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><a href="http://localhost:8085/cgi-bin/mapserv.exe?mode=map&map=c://ms4w/apps/webgis/mp/wms.map" target="_blank">http://localhost:8085/cgi-bin/mapserv.exe?mode=map&map=c://ms4w/apps/webgis/mp/wms.map</a> this url displays
 map</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Nov 23, 2015 at 5:02 PM, Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There is nothing that is obviously wrong in your mapfile. Some suggestions:</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">         
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Add debug 5 into your layer</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">         
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Try to get a map with shp2img</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-</span><span lang="EN-US" style="font-size:7.0pt;color:#1F497D">         
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Convert data from PostGIS into shapefile and use that as source data.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.65pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It seems that you have changed something in between because first you wrote “</span><span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">in
 the browser when i paste the url "</span><span style="font-size:11.5pt;font-family:"Helvetica","sans-serif""><a href="http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities" target="_blank"><span lang="EN-US" style="color:#358DAA;border:none windowtext 1.0pt;padding:0cm;text-decoration:none">http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities</span></a></span><span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">"</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.65pt"><span lang="EN-US" style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">Now you write that this is the URL<br>
</span><span lang="EN-US">(</span><a href="http://localhost:8085/cgi-bin/mapserv.exe?mode=map&map=c://ms4w/apps/webgis/mp/wms.map" target="_blank"><span lang="EN-US">http://localhost:8085/cgi-bin/mapserv.exe?mode=map&map=c://ms4w/apps/webgis/mp/wms.map</span></a><span lang="EN-US">),</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.65pt"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background-color:rgba(248,248,248,0.6)">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Jukka Rahkonen-</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Lähettäjä:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> rishi [mailto:<a href="mailto:rishe28@gmail.com" target="_blank">rishe28@gmail.com</a>]
<br>
<b>Lähetetty:</b> 23. marraskuuta 2015 13:10<br>
<b>Vastaanottaja:</b> Rahkonen Jukka (MML)<br>
<b>Aihe:</b> Re: [mapserver-users] create wms service with mapserver</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">When i tried to open that mapserv.exe file it is displaying as "the file or directory is corrupted or unreadable".<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">if i open the same file as mode=map (<a href="http://localhost:8085/cgi-bin/mapserv.exe?mode=map&map=c://ms4w/apps/webgis/mp/wms.map" target="_blank">http://localhost:8085/cgi-bin/mapserv.exe?mode=map&map=c://ms4w/apps/webgis/mp/wms.map</a>),
 it is displaying the map<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Mon, Nov 23, 2015 at 4:34 PM, Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">MS4W is ready for WMS but please tell us first what do you see when you opened the mapserv.exe
 file with a text editor.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Jukka Rahkonen-</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">rishi wrote:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">do i need to install anything related to wms in ms4w folder?<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">MapServer version 5.2.1<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Mon, Nov 23, 2015 at 3:52 PM, Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I guess that something went wrong but saving mapserv.exe into file and reading it with
 text editor is the right thing to do. Jörg and Jeff should have noticed that the GetCapabilities request was made without &VERSION which means the highest version 1.3.0 for Mapserver and then the normal GetCapabilities document will be sent with mime type
 that most browsers understand. Try it:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&REQUEST=GetCapabilities" target="_blank">http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&REQUEST=GetCapabilities</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I may be wrong but I would rather believe that mapserv.exe contains an error message
 about unknown projection epsg:900913. Use epsg:3857 instead.  And I prefer using an explicit parameter &VERSION= always instead of relying on what version comes from the lottery when version in not defined in the query.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Jukka Rahkonen-
</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Jörg Thomsen wrote:</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Hi,<br>
<br>
nothing went wrong. The problem under windows is, that apache(?) names the capabilities-document mapserv.exe. Save it, o</span>pen it in an editor and see your capabilities!<br>
<br>
Perhaps anyone reading this can tell us how to configure the windows-instrallation, so that the capabilities-doc is not named .exe? I don't know.<br>
<br>
Jörg<br>
<br>
<br>
<br>
Am 23.11.2015 um 10:30 schrieb rishi:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">i am trying to create wms service using postgres data in mapserver my map file(wms.map) is</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947 TRANSPARENT on IMAGETYPE png size 150 500</span><o:p></o:p></p>
<pre style="background:#EEEEEE;max-height:600px;word-wrap:normal;overflow:auto"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">web</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">    metadata</span></code><o:p></o:p></pre>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">"wms_title" "Customer Airports" "wms_onlineresource" "<a href="http://localhost:8085/cgi-bin/mapserv.exe" target="_blank">http://localhost:8085/cgi-bin/mapserv.exe</a>?" "wms_enable_request"
 "*" "wms_srs" "EPSG:4326 EPSG:900913" "wms_feature_info_mime_type" "text/html" "wms_format" "image/png"</span><o:p></o:p></p>
<pre style="background:#EEEEEE;max-height:600px;word-wrap:normal;overflow:auto"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">    end</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">end</span></code><o:p></o:p></pre>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">LAYER CONNECTIONTYPE postgis<br>
CONNECTION "user=postgres password=abcd dbname=sample port=5432 host=localhost" DATA "geom FROM district_old using unique gid"</span><o:p></o:p></p>
<pre style="background:#EEEEEE;max-height:600px;word-wrap:normal;overflow:auto"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">STATUS Default</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">TYPE polygon</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">PROJECTION</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">      "init=epsg:900913"</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">END</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">labelitem 'district'</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">class                    </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">    style                </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"> </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        #color 55 230 51</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        outlinecolor 90 90 90</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        width 2</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">    end </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">    LABEL</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        #color 255 255 255</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        size 2</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        BACKGROUNDCOLOR 255 201 14</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">        position auto</span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">    END          </span></code><o:p></o:p></pre>
<pre style="background:#EEEEEE"><code><span style="font-family:Consolas;border:none windowtext 1.0pt;padding:0cm">end  </span></code><o:p></o:p></pre>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">END</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">END</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">in the browser when i paste the url "<a href="http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities" target="_blank"><span style="color:#358DAA;border:none windowtext 1.0pt;padding:0cm;text-decoration:none">http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities</span></a>"</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">it is not displaying the xml file instead it is downloading the mapserv.exe file</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;line-height:14.65pt;background-color:rgba(248,248,248,0.6)">
<span style="font-size:11.5pt;font-family:"Helvetica","sans-serif"">please correct my code also tell me the requirements to work with wms</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"> <o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mapserver-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>