[mapserver-users] Problems with mapserver wrapper script

David Alda Fernandez de Lezea dalda at ikt.es
Thu Jul 1 07:37:19 EDT 2010


Hi list,

I'm facing a small problem. I've copied mapserv.exe to a new file called wms_dgis.exe, I added to httpd.conf the following line 

SetEnvIf Request_URI ="/cgi-bin/wms_dgis.exe" MS_MAPFILE=/ms4w/Apache/htdocs/MFD/wms_dgis.map

I also changed the onlineresource value of the mapfile to

"wms_onlineresource"  	"http://192.168.1.65/cgi-bin/wms_dgis.exe?"

When I type in the web browser the url http://192.168.1.65/cgi-bin/wms_dgis.exe?, I get:

No query information to decode. QUERY_STRING is set, but empty. 

So I think I'm on the right way, but when I make a getCapabilities request like:

http://192.168.1.65/cgi-bin/wms_dgis.exe?SERVICE=WMS&REQUEST=GetCapabilities

I get:

loadMap(): Web application error. CGI variable "map" is not set.

I've looked into Apache's access.log but I don't see anything odd.

MS4W package
Mapserver 5.6.1
Win XP

Am I doing something wrong??
 
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································


More information about the mapserver-users mailing list