[Qgis-user] Port number in GetCapabilities

st_kiefer at web.de st_kiefer at web.de
Fri Jun 2 13:06:24 PDT 2017


Hi,

as far as I understand you have to set the URL only once in the 
project-Settings. Besides, port 80 is not the best choice, 80 is the 
standard port for internet-access. Better use something non special like 
8801.


Cheers.


Stefan


Am 02.06.2017 um 21:57 schrieb Henrik Uggla:
>
> 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 <qgis-user-bounces at lists.osgeo.org> för 
> st_kiefer at web.de <st_kiefer at web.de>
> *Skickat:* den 2 juni 2017 20:21
> *Till:* qgis-user at lists.osgeo.org
> *Ä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
>> Qgis-user at lists.osgeo.org
>> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170602/882c2b44/attachment.html>


More information about the Qgis-user mailing list