[mapserver-users] Getting all endpoints on a single MapServer instance

Jonathan Moules jonathan-lists at lightpear.com
Mon Oct 8 01:14:17 PDT 2018


Thanks both for the answer. That's a shame, but it's good to know.

Thanks again!


On 2018-10-08 07:24, Marco wrote:
> No.
>
> Mapserver is completely stateless. It loads the file specified in the 
> request and parses it as a map file. That file can be any file on the 
> file system which is readable by mapserver.
>
> Mapserver has no configuration file holding the files which are 
> regarded as mapfiles.
>
> MArcp
>
>
> On 06-10-18 21:08, Jonathan Moules wrote:
>> Hi List,
>>
>> Is there a way to get all the endpoints (maps) that are available 
>> from a given server?
>>
>> Or put another way, take this example where these two URL's both use 
>> different map files, and so have different layers (one is pointing to 
>> "wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):
>>
>> http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map&service=wms&request=getcapabilities 
>>
>>
>> http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map&service=wms&request=getcapabilities 
>>
>>
>> If I only knew one of those URL's, would it be possible for me to 
>> figure out the other one, ideally via a GET request?
>>
>> Thanks,
>> Jonathan
>>
>>
>>




More information about the mapserver-users mailing list