12

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?

1
  • 4
    The 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
    Commented Dec 10, 2010 at 12:08

4 Answers 4

2

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

1

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

3
  • 3
    Link broken, solution lost... :S
    – inf3rno
    Commented Oct 5, 2015 at 17:02
  • @iant Hi there, inf3rno is right, link is broken.
    – slevin
    Commented Oct 5, 2015 at 20:22
  • 5 years is a long time :-(
    – Ian Turton
    Commented Oct 6, 2015 at 8:10
1

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.

0

You can look at these two project, maybe they can help you:

1
  • GeoShield looks like unmaintained. Commented Nov 2, 2020 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.