Thanks for your tip! Adding the port number for every single layer isn't an 
option though. Also, which I didn't mention, we have also published port 80. We 
wish to use port 80 for cached content and 81 for non-cached. For both to work 
simultaneously the URLs in the WMS GetCapabilities response need to be dynamic.


Regards

Henrik


________________________________
Från: Qgis-user <[email protected]> för [email protected] 
<[email protected]>
Skickat: den 2 juni 2017 20:21
Till: [email protected]
Ämne: Re: [Qgis-user] Port number in GetCapabilities


Hi,

I read your post just for curiosty, in fact I have no experience with Qgis 
Server. Otherwise while exploring this feature I found the following in the 
Documentation:

"If you want QGIS Server to advertise specific request URLs in the WMS 
GetCapabilities response, enter the corresponding URL in the Advertised URL 
field."[1] Maybe that helps.


Cheers.


Stefan


[1] 
http://docs.qgis.org/2.14/en/docs/user_manual/working_with_ogc/ogc_server_support.html#wms-capabilities

Am 02.06.2017 um 15:19 schrieb Henrik Uggla:

Hi!


I've installed Qgis Server on Linux and have set it up to listen on port 81. My 
problem is that the layer urls in the GetCapabilities response are written 
without port number. How can I fix this? (I've confirmed that the request Host 
header includes the port)


regards

HU



_______________________________________________
Qgis-user mailing list
[email protected]<mailto:[email protected]>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to