Hi,

Just save the file "testowms.exe" on your disk and open it with text editor.  
Most probably it is the correct xml file, but your browser just do not 
recognise the special mime type of it.

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: [EMAIL PROTECTED] puolesta: u_b_i
Lähetetty: pe 15.8.2008 6:54
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Fwd: Newbie want to know how to create my own wmsserver
 
---------- Forwarded message ----------
From: u_b_i <[EMAIL PROTECTED]>
Date: Wed, Aug 13, 2008 at 11:59 PM
Subject: Newbie want to know how to create my own wms server
To: [EMAIL PROTECTED]


Hai Jeff....since like it`s the first time i'm ask question to u....actually
i have the problem to create my own wms server.....i've followed all of your
instruction on your thread WMS Servers with Mapserver - UMN
Mapserver<http://mapserver.gis.umn.edu/docs/howto/wms_server/#links-to-wms-related-information>...but
i still cant create my own WMS server....for your information i'm using MS4W
4.4.2 installer as server for my Windows which comes already with WMS/WFS
support....i like use the data to shown on flamingo
mc<http://www.flamingo-mc.org>- Flash based WMS client....below are
what i've done following your
instruction...please check either wrong or i've miss something......


   1. I've created my MAP file's using Quantum GIS (using export to MAP file
   plugin)....i seen that the MAP file have a lot of WMS tag requirements for
   WMS....so i didn't alter anything on there...the MAP file i've named it as
   *kv.map*..and below are my WMS server setting on the MAP file....
   *
   # WMS server settings
       METADATA
         'wms_title'           'klang valley'
         'wms_onlineresource'  '
   
http://localhost/cgi-bin/testowms.exe?map=c:\ms4w\apps\kv\kv.map&;<http://localhost/cgi-bin/testowms.exe?map=c:%5Cms4w%5Capps%5Ckv%5Ckv.map&;>
   '
         'wms_srs'             'EPSG:4326'
       END

   *and every my layers have auto generated by qGIS with metadata of *
   wms_title*
   *
   *
   2. I've copy *mapserv.exe* from my *C:\ms4w\Apache\cgi-bin* and paste on
   the same path....and i've named it *testowms.exe *without changing
   anything on that EXE file.....

   3. I've also change *httpd.conf* file by adding parameter on the very
   last line - *SetEnvIf Request_URI "/cgi-bin/testowms.exe"
   MS_MAPFILE=c:\ms4w\apps\kv\kv.map

   *
   4. and then i've test my WMS server by insert url
   *
   
http://localhost/cgi-bin/testowms.exe?map=c:\ms4w\apps\kv\kv.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities<http://localhost/cgi-bin/testowms.exe?map=c:%5Cms4w%5Capps%5Ckv%5Ckv.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities>
   *then i've got download windows of *testowms.exe


   *Is it any problem or wrong on my changes....how do i know that i've got
   the right request from my server.......
   Hope u can help it.....

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to