Re: [mapserver-users] Mapserver behind proxyserver

2019-10-09 Thread Edward Mac Gillavry

Hi Tijs,

That's mainly configurable the MAP metadata and LAYER metadata.

Best,

Edward

From: mapserver-users  on behalf of 
Kler, Tijs de 
Sent: Wednesday, October 9, 2019 12:40:50 PM
To: mapserver-users@lists.osgeo.org 
Subject: [mapserver-users] Mapserver behind proxyserver


Hey All,



I am running a mapserver docker container on port 80 using the following docker 
image: https://github.com/PDOK/mapserver-wfs-postgis.



For deployment i have to run behind a proxyserver based on HAproxy that takes 
care of ssl encryption.

Accessing GetCapabilites 
(https://acc.dsr.maps.amsterdam.nl/mapserver/wfs?REQUEST=GetCapabilities=wfs)
 resolves and returns xml with the available layers.

The layers however contains url references to port 80:

> https://acc.dsr.maps.amsterdam.nl:80/mapserver?request=GetMetadata=Invloedsgebied_Metro



How does mapserver build the layer urls?

Does it use the request header of the GetCapabilities request to construct it? 
Or serverside configuration?

And if yes, which header fields or environment/config variables are used to 
construct the layer URL?



Cheers,

Tijs


De gemeente Amsterdam streeft naar optimale dienstverlening en zorgvuldige 
afhandeling van e-mailverkeer. Als een e-mail niet voor u is bestemd, verzoekt 
de gemeente u vriendelijk ons van de juiste adressering op de hoogte te stellen 
en de e-mail te verwijderen zonder de informatie te gebruiken en te delen met 
anderen. Voor verdere informatie over de rechten op informatie, zie 
https://www.amsterdam.nl/proclaimer.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapserver behind proxyserver

2019-10-09 Thread Rahkonen Jukka (MML)
Hi,

See https://mapserver.org/ogc/wfs_server.html
You should have full control on the service URL by having  
"wfs_service_onlineresource" set in the metadata section.

-Jukka Rahkonen-


Lähettäjä: mapserver-users  Puolesta 
Kler, Tijs de
Lähetetty: keskiviikko 9. lokakuuta 2019 13.41
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Mapserver behind proxyserver

Hey All,

I am running a mapserver docker container on port 80 using the following docker 
image: https://github.com/PDOK/mapserver-wfs-postgis.

For deployment i have to run behind a proxyserver based on HAproxy that takes 
care of ssl encryption.
Accessing GetCapabilites 
(https://acc.dsr.maps.amsterdam.nl/mapserver/wfs?REQUEST=GetCapabilities=wfs)
 resolves and returns xml with the available layers.
The layers however contains url references to port 80:
> https://acc.dsr.maps.amsterdam.nl:80/mapserver?request=GetMetadata=Invloedsgebied_Metro

How does mapserver build the layer urls?
Does it use the request header of the GetCapabilities request to construct it? 
Or serverside configuration?
And if yes, which header fields or environment/config variables are used to 
construct the layer URL?

Cheers,
Tijs



De gemeente Amsterdam streeft naar optimale dienstverlening en zorgvuldige 
afhandeling van e-mailverkeer. Als een e-mail niet voor u is bestemd, verzoekt 
de gemeente u vriendelijk ons van de juiste adressering op de hoogte te stellen 
en de e-mail te verwijderen zonder de informatie te gebruiken en te delen met 
anderen. Voor verdere informatie over de rechten op informatie, zie 
https://www.amsterdam.nl/proclaimer.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Mapserver behind proxyserver

2019-10-09 Thread Kler, Tijs de
Hey All,

I am running a mapserver docker container on port 80 using the following docker 
image: https://github.com/PDOK/mapserver-wfs-postgis.

For deployment i have to run behind a proxyserver based on HAproxy that takes 
care of ssl encryption.
Accessing GetCapabilites 
(https://acc.dsr.maps.amsterdam.nl/mapserver/wfs?REQUEST=GetCapabilities=wfs)
 resolves and returns xml with the available layers.
The layers however contains url references to port 80:
> https://acc.dsr.maps.amsterdam.nl:80/mapserver?request=GetMetadata=Invloedsgebied_Metro

How does mapserver build the layer urls?
Does it use the request header of the GetCapabilities request to construct it? 
Or serverside configuration?
And if yes, which header fields or environment/config variables are used to 
construct the layer URL?

Cheers,
Tijs


De gemeente Amsterdam streeft naar optimale dienstverlening en zorgvuldige 
afhandeling van e-mailverkeer. Als een e-mail niet voor u is bestemd, verzoekt 
de gemeente u vriendelijk ons van de juiste adressering op de hoogte te stellen 
en de e-mail te verwijderen zonder de informatie te gebruiken en te delen met 
anderen. Voor verdere informatie over de rechten op informatie, zie 
https://www.amsterdam.nl/proclaimer.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users