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?

laser
9748 silver badges14 bronze badges
asked Dec 10, 2010 at 10:51
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. 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

answered Dec 11, 2010 at 9:40
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

answered Dec 10, 2010 at 18:07
3
  • 3
    Link broken, solution lost... :S Commented Oct 5, 2015 at 17:02
  • @iant Hi there, inf3rno is right, link is broken. Commented Oct 5, 2015 at 20:22
  • 5 years is a long time :-( 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.

answered Dec 10, 2010 at 13:39
0

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

answered Dec 10, 2010 at 22:58
1
  • GeoShield looks like unmaintained. Commented Nov 2, 2020 at 8:05

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.