Feature request #21423
Use more fcgi params for GetCapabilities response
Status: | Feedback | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | QGIS Server | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 29240 |
Description
In some cases QGIS services are exposed on multiple URL endpoints.
GetCapabilities response now takes into account fcgi params like SERVER_PORT and SERVER_NAME.
Unfortunately, neither SERVER_PROTOCOL nor REQUEST_URI are taken into account, so web server has to parse the backend response and replace it with appropriate values.
Could've been much better if QGIS used additional fcgi params to generate Capabilities.
History
#1 Updated by Alessandro Pasotti almost 6 years ago
- Status changed from Open to Feedback
You don't say which version of QGIS server are you talking about, btw, current master does read both `HTTPS` and `REQUEST_URI` from the env.
#2 Updated by Nikolay Lebedev almost 6 years ago
I'm using QGIS 3.4.
Did it land in 3.6?
#3 Updated by Alessandro Pasotti almost 6 years ago
Yes, and it was backported to 3.4 23 days ago.