Jukka, > Another possibility is in one unnecessary "=" sign. Try SetEnvIf Request_URI > "/cgi-bin/wms_dgis.exe"
Tha was the mistake (Aaaaaaargh!!! What a silly a thing!!!). I removed "=" and worked perfectly. Thanks!!!! 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: [email protected] web: www.ikt.es ·················································································· -----Mensaje original----- De: Rahkonen Jukka [mailto:[email protected]] Enviado el: jueves, 01 de julio de 2010 14:00 Para: David Alda Fernandez de Lezea; [email protected] Asunto: Re: [mapserver-users] Problems with mapserver wrapper script Hi, I do not see anything wrong in it. It should work and perhaps give you another error as I am getting from Mapserver 5.2.1 msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter I would have a try by including the drive letter in the mapfile path and restarting Apache, but I fear it does not help. Another possibility is in one unnecessary "=" sign. Try SetEnvIf Request_URI "/cgi-bin/wms_dgis.exe" -Jukka Rahkonen- > -----Alkuperäinen viesti----- > Lähettäjä: [email protected] > [mailto:[email protected]] Puolesta David Alda > Fernandez de Lezea > Lähetetty: 1. heinäkuuta 2010 14:37 > Vastaanottaja: [email protected] > Aihe: [mapserver-users] Problems with mapserver wrapper script > > 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=G etCapabilities > > 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: [email protected] web: www.ikt.es > ······························································ > ···················· > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
