[Mapserver-users] Passing CGI variables
Daniel Morissette
dmorissette at dmsolutions.ca
Fri Apr 16 05:55:26 PDT 2004
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 at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list