<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
nothing went wrong. The problem under windows is, that apache(?)
names the capabilities-document mapserv.exe. Save it, open 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:<br>
</div>
<blockquote
cite="mid:CACNVwd-8=5x8G17qx-+u_=_2Qd0bDsDkG5G+W3Piqs9zhDoi6w@mail.gmail.com"
type="cite">
<div dir="ltr">
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">i
am trying to create wms service using postgres data in
mapserver my map file(wms.map) is</p>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">MAP
EXTENT 8240841.450745 2400319.900386 9218007.463612
3107183.406947 TRANSPARENT on IMAGETYPE png size 150 500</p>
<pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit">web
metadata
</code></pre>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">"wms_title"
"Customer Airports" "wms_onlineresource" "<a
moz-do-not-send="true"
href="http://localhost:8085/cgi-bin/mapserv.exe"
rel="nofollow"
style="margin:0px;padding:0px;border:0px;text-decoration:none;color:rgb(53,141,170)"><a class="moz-txt-link-freetext" href="http://localhost:8085/cgi-bin/mapserv.exe">http://localhost:8085/cgi-bin/mapserv.exe</a></a>?"
"wms_enable_request" "*" "wms_srs" "EPSG:4326 EPSG:900913"
"wms_feature_info_mime_type" "text/html" "wms_format"
"image/png"</p>
<pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"> end
end
</code></pre>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">LAYER
CONNECTIONTYPE postgis<br>
CONNECTION "user=postgres password=abcd dbname=sample
port=5432 host=localhost" DATA "geom FROM district_old using
unique gid"</p>
<pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit">STATUS Default
TYPE polygon
PROJECTION
"init=epsg:900913"
END
labelitem 'district'
class
style
#color 55 230 51
outlinecolor 90 90 90
width 2
end
LABEL
#color 255 255 255
size 2
BACKGROUNDCOLOR 255 201 14
position auto
END
end
</code></pre>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">END</p>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">END</p>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">in
the browser when i paste the url "<a moz-do-not-send="true"
href="http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities"
rel="nofollow"
style="margin:0px;padding:0px;border:0px;text-decoration:none;color:rgb(53,141,170)">http://localhost/cgi-bin/mapserv.exe?map=c://ms4w/apps/webgis/wms.map&SERVICE=WMS&REQUEST=GetCapabilities</a>"</p>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">it
is not displaying the xml file instead it is downloading the
mapserv.exe file</p>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;line-height:19.5px;background-color:rgba(248,248,248,0.6)">please
correct my code also tell me the requirements to work with wms</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
</blockquote>
<br>
</body>
</html>