Thanks, I thought that setenvif should fix that but I understand it needs some more info. When I then enter http://domainname.../cgi-bin/demo?mode=map&layers=all I then get this error: loadMap(): Web application error. CGI variable "map" is not set. so it seems it could be my path is not set correctly in my mapserv.conf (http). Is the pathe in SETENVIF local or from the webroot for apache or webroot for the domain?
/asle Rahkonen Jukka wrote: > > Hi, > > This is not an error. You do not ask Mapserver to do anything for you, > therefore it answers "QUERY_STRING is set, but empty." Add something > reasonable to the query and you may start seeing something. You can start > by adding > ?mode=map&layers=all > and sending the query from browser. > > -Jukka Rahkonen- > > > >> -----Alkuperäinen viesti----- >> Lähettäjä: [email protected] >> [mailto:[email protected]] Puolesta asle >> Lähetetty: 26. helmikuuta 2009 11:57 >> Vastaanottaja: [email protected] >> Aihe: Re: [mapserver-users] setenv MS_MAPFILE not working >> >> >> Yes, of course I miswrote that. This should be correct? >> SetEnvIf Request_URI "/cgi-bin/demo" >> MS_MAPFILE=/MS/apps/demo/demo.map SetEnvIf Request_URI >> "/cgi-bin/demo" MS_ERRORFILE=/MS/apps/demo/ms.log >> >> But I still get the same error when I type the URL >> http://domainname.../cgi-bin/demo No query information to >> decode. QUERY_STRING is set, but empty. >> >> -- >> View this message in context: >> http://n2.nabble.com/setenv-MS_MAPFILE-not-working-tp2386468p2 >> 388730.html >> Sent from the Mapserver - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> 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 > > -- View this message in context: http://n2.nabble.com/setenv-MS_MAPFILE-not-working-tp2386468p2388949.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
