[gdal-dev] [mapserver-dev] New env. var. to make it easier to test/debug web services

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Oct 2 12:41:20 PDT 2014


On 2014-10-02 4:24 PM, Even Rouault wrote:
> Le jeudi 02 octobre 2014 21:01:58, Even Rouault a écrit :
>> Le jeudi 02 octobre 2014 20:57:46, Lime, Steve D (MNIT) a écrit :
>>> How about making -nh set the environment variable programatically and
>>> losing the sendheaders checks?
>>
>> Yes, that's a possibility. Although I think -nh could just call a function
>> to disable the boolean in msio instead of messing with environmenet
>> variables.
>
> I've just implemented that. So no more env. variable trick. Just the standard
> -nh mechanism.
>
> Would be cool to have a "mapserv --help" mode to display available options,
> wouldn't it ?

Would be super cool!  It would list the -nh and -v options (I don't know 
of other options).  The default message is, not fully correct:

   "This script can only be used to decode form results and should be 
initiated as a CGI process via a httpd server"


-jeff





More information about the gdal-dev mailing list