Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

Thank you all

share|improve this question
3  
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 Dec 10 '10 at 12:08
add comment

4 Answers 4

up vote 1 down vote accepted

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

share|improve this answer
    
Very direct way to do it thank you –  machado Jan 6 '11 at 23:01
add comment

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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