[Mapserver-users] Passing CGI variables

Daniel Morissette dmorissette at dmsolutions.ca
Sat Apr 10 11:54:24 EDT 2004


Dharani Babu wrote:
> 1)   I am trying to pass the CGI variables to the map server exe without 
> HTML submission .Thats I am trying to disassociate the browser based 
> rendering .Could any of you point to the direction ?I have been able to 
> pass the url thro a C# /VB.net web browser control . But searching for 
> an alternative .   I tried passing CGI variables thro command prompt but 
> got a message that " cgi variables can be passed only via httpd " .
> 

You can call the mapserv.exe at the command prompt using

   mapserv.exe "QUERY_STRING=map=/path/to/yourmap.map&mode=...&..."

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




More information about the mapserver-users mailing list