[mapserver-users] mapserv -v as html

Daniel Morissette dmorissette at mapgears.com
Wed Sep 8 06:20:29 EDT 2010


On 10-09-08 10:13 AM, Jan Hartmann wrote:
>
> Is there a simple way to do a browser request for "mapserv -v"? If I 
> type an URL like "http://localhost/cgi-bin/mapserv?-v" I get an 
> Internal Server Error, because this way mapserv doesn't return HTTP 
> headers.
>

There is no dedicated URL param to get the version info, but since it is 
included by default in a comment in the HTML output generated by 
MapServer you could call something like 
"http://localhost/cgi-bin/mapserv?mode=bogus" and then do a view source.

Daniel


More information about the mapserver-users mailing list