I would like to use a reverse proxy with SSL encryption in front of geonetwork. For this I use an Apache on an Ubuntu Server 18.04. The setup is as follows:
https://my.reverse.proxy/ - my proxy
http://my.geonetwork.vm:8080/geonetwork - a vm with tomcat and geonetwork
And the reverse proxy should proxy:
but for some reason it wont work and tomcat tells The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Is there some kind of special configuration instruction I should follow?
this config works for me:
ServerName my.reverse.proxy SSLEngine On SSLProxyEngine On ProxyRequests Off ProxyPreserveHost On ProxyPass / http://my.geonetwork.vm:8080/ retry=0 ProxyPassReverse / http://my.geonetwork.vm:8080/
I can access GN using https://my.reverse.proxy/geonetwork
Ok, It did work for
ProxyPass "/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/" retry=0 ProxyPassReverse "/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/"
But it wont for:
ProxyPass "/inspire/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/" retry=0 ProxyPassReverse "/inspire/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/"
For some reason the location header in the response will stay /geonetwork/ and not /inspire/geonetwork/ .
SiteURLsetting in GN settings?
I'm working on a project, part of it is using geonetwork to provide geospatial metadata services. I'm wondering what's the best approach to
Extend gn by adding a new maven module for some custom code in geonetwork
-- This module will use a different database from the geonetwork db
-- We want to leverage spring data jpa for this module.
-- How do we inject multiple entitymanagerfactories and persistencecontext(s) that ---dont conflict? One (primary) for geonetwork db and the secondary for our db. We ---want to do this without modifying existing geonetwork core code and spring ------configuration.
resource_not_foundNo portal found with id 'home'. The list of available portals are: [srv]ResourceNotFoundException
Hi, Anyone encountered this error:
2019-09-17 13:32:32,181 ERROR [geonetwork.datamanager] - WARNING: schematron xslt schematron-rules-iso failed ; SystemID: file:/var/lib/tomcat8/webapps/geonetwork/WEB-INF/data/config/schema_plugins/iso19139/schematron/schematron-rules-iso.xsl; Line#: 683; Column#: -1 net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the first argument of string() (<gco:CharacterString/>, <gco:CharacterString/>)