[Mapserver-users] Passing CGI variables

Daniel Morissette dmorissette@dmsolutions.ca
Fri, 16 Apr 2004 08:55:26 -0400


David Mitchell wrote:
> Dharani,
> 
> REQUEST_METHOD and QUERY_STRING are environment variables, not 
> parameters to the application. Try this instead:
> 
> C:\TEST>set "REQUEST_METHOD=GET"
> C:\TEST>set "QUERY_STRING=map=c:\....."
> C:\TEST>mapserv_40.exe
> 

For the record, QUERY_STRING=... is a special parameter to the 
mapserv.exe that has the same effect as setting the above environment 
variables. i.e. the following will work:


C:\TEST>mapserv_40.exe "QUERY_STRING=map=C%3A%2Fms4w%2Fapa..."

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users