[Geoserver-users] Mod_Proxy and GeoServer

Folks,

I'm in the process of setting yet another GeoServer instance, this time using the startup.sh script to start it up.

Since I'd like GeoServer to listen to port 80, I've set Mod_proxy as such:
<IfModule mod_proxy.c>
         ProxyPass /geoserver http://www.lucamorandini.it:8080/geoserver
         ProxyPassReverse /geoserver http://www.lucamorandini.it:8080/geoserver
         ProxyRequests Off
</IfModule>

Everything seemed to be running fine... but, as soon as I tried to login, port 8080 creeped back in:
http://www.lucamorandini.it:8080/geoserver/admin/index.do

Any clue ?

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Hi Luca,

You need some additional configuration to get GeoServer to respect the
proxy. Have you checked this out?

http://docs.codehaus.org/display/GEOSDOC/Configure+GeoServer+to+run+with+a+proxy

-Justin

Luca Morandini wrote:

Folks,

I'm in the process of setting yet another GeoServer instance, this time
using the startup.sh script to start it up.

Since I'd like GeoServer to listen to port 80, I've set Mod_proxy as such:
<IfModule mod_proxy.c>
         ProxyPass /geoserver
http://www.lucamorandini.it:8080/geoserver
         ProxyPassReverse /geoserver
http://www.lucamorandini.it:8080/geoserver
         ProxyRequests Off
</IfModule>

Everything seemed to be running fine... but, as soon as I tried to
login, port 8080 creeped back in:
http://www.lucamorandini.it:8080/geoserver/admin/index.do

Any clue ?

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,46648c56235921030819293!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Justin Deoliveira wrote:

You need some additional configuration to get GeoServer to respect the
proxy. Have you checked this out?

http://docs.codehaus.org/display/GEOSDOC/Configure+GeoServer+to+run+with+a+proxy

Sorry, I overlooked it... anyway, worked like a charm afterwards :slight_smile:

Thanks,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Justin Deoliveira wrote:

You need some additional configuration to get GeoServer to respect the
proxy. Have you checked this out?

http://docs.codehaus.org/display/GEOSDOC/Configure+GeoServer+to+run+with+a+proxy

Sorry, I overlooked it... anyway, worked like a charm afterwards :slight_smile:

Thanks,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------