Hi all: our (OWS) application (via Python MapScript/mod_wsgi) is provided
as both HTTP and HTTPS, and our mapfile's map.web.metadata.ows_onlineresource
is set to 'http://example.org/ows', for example.

We would like to update map.web.metadata.ows_onlineresource at request
time (by checking 'wsgi.url_scheme') so that when a user does a GetCapabilities
request the Capabilities XML provided emits the appropriate URL based on the
request.

I see in the MapScript Python API that map.web is immutable?  Are there other
potential approaches?

Thanks

..Tom
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to