I just start to work with Geoserver and Openlayers and one of the main concerns of the project now is do not expose the geoserver web interface outside of the internal network. No access to www.mydomain.com/geoserver/
However the application that is available in the Internet needs to get data (wms/wfs) from the GeoServer. This all through OpenLayers.
Is this possible?
-
4The short answer is yes. I can't help you with a long answer, because the way we are doing it is a custom proxy that also handles our AAA needs. But basically it is all HTTP traffic.relet– relet2010年12月10日 12:08:05 +00:00Commented Dec 10, 2010 at 12:08
4 Answers 4
You can have an apache httpd as frontend listening on port 80 with proyxing rewrite-rules (see mod_rewrite and mod_proxy) mapping /whateverurl on apache to /geoserver/wms on the geoserver running on another tcp port.
Se more: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
It is possible, follow the instructions at http://ian01.geog.psu.edu/geoserver_docs/software/java.html but instead of /geoserver use /geoserver/wms and /geoserver/wfs
-
3Link broken, solution lost... :Sinf3rno– inf3rno2015年10月05日 17:02:11 +00:00Commented Oct 5, 2015 at 17:02
-
@iant Hi there, inf3rno is right, link is broken.slevin– slevin2015年10月05日 20:22:12 +00:00Commented Oct 5, 2015 at 20:22
-
5 years is a long time :-(Ian Turton– Ian Turton2015年10月06日 08:10:01 +00:00Commented Oct 6, 2015 at 8:10
you can setup a reverse proxy. Then point OL to it like a normal url. I know you're not using ESRI but they have a guide online to setup a reverse proxy that would apply to your case.
-
GeoShield looks like unmaintained.david.perez– david.perez2020年11月02日 08:05:55 +00:00Commented Nov 2, 2020 at 8:05