Hi,

Actually your Mapserver will respond both to http and https requests if your 
network let them both come through. OnlineResourse has no effect at all for 
Mapserver, you can set it to http://foo@bar if you wish. But WMS clients may 
have difficulties if they really interpret the GetMap URL and use it for 
further operations. QGIS and OpenJUMP have an override for using the same base 
URL that was used for doing GetCapabililies and that might suit for your case. 
OpenLayers, Leaflet etc. don't even parse GetCapabilities and http://foo@bar is 
totally OK for them.

-Jukka-



-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Andrea Peri
Lähetetty: 2. toukokuuta 2017 15:37
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Allow request in http and https

Hi,
I need to set a mapserver wms to responde both on an http url and on an https 
url.

I try seting two time the
wms_onlineresource value:

      "wms_onlineresource" "http://my-server/....";
      "wms_onlineresource" "https://my-server/....";

But the getcapabilites response oonly the second value.

Is possible to set two url in the wms_onlineresource  ?

Many thx.


--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to