New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OGCserver does not work properly through a reverse proxy in WSGI mode #5
Comments
Patch is almost ok: it needs to check the 'service' section instead of the 'server' section in ogcserver.conf:
With the corrected patch all urls (GetCapabilities, GetMap, GetFeatureInfo) will use the correct url. Without the patch only the Service section of the GetCapabilities will show the url specified in the configuration. |
feel free to apply if it looks good to you. ideally we could have some tests for parsing the conf. |
Further review shows that the patch was ok. The onlineresource in [service] is already used and should point to some web page of the supporter of the service. |
[capability] section sounds smart, but I'm fine either way. Feel free to commit. |
New baseurl option in ogcserver.conf, commited in dc07974 |
OGCserver does not work properly through a reverse proxy in WSGI mode as it binds SERVER_NAME, SERVER_PORT and PATH_INFO. There should be 'onlineresource' parameter in ogcserver.conf in '[server]' group.
patch available: http://trac.mapnik.org/ticket/316
The text was updated successfully, but these errors were encountered: