This is my configuration, adding an extra piece if security: For http:
<VirtualHost *:80> .... <Proxy *> Order deny,allow Deny from all Allow from all </Proxy> ProxyPass /geoserver/wms ajp://localhost:8009/geoserver/wms ProxyPassReverse /geoserver/wms ajp://localhost:8009/geoserver/wms retry=3 ProxyPass /geoserver/ows ajp://localhost:8009/geoserver/ows ProxyPassReverse /geoserver/ows ajp://localhost:8009/geoserver/ows retry=3 ... This only exposes WMS and OWS services through http. I have placed my administrative interface on a https instance to prevent password theft when logging in to the management area: <IfModule mod_ssl.c> <VirtualHost *:443> .... <Proxy *> Order deny,allow Deny from all Allow from all </Proxy> ProxyPass /geoserver ajp://localhost:8009/geoserver ProxyPassReverse /geoserver ajp://localhost:8009/geoserver retry=3 ... 2011/1/29 Arne Kepp <a...@tiledmarble.org>: > Be sure to also set ProxyPreserveHost in Apache. > > -Arne > > On 1/28/11 1:34 PM, Justin Rowles (C) wrote: > > Hi, > > > > I have installed a clean Geoserver 2.0.2 from the universal > geoserver-2.0.2-bin.zip, edited jetty.xml to start it listening on port > 9000, and then put ProxyPass and ProxyPassReverse settings into httpd.conf > to access it externally on port 80. > > > > I can’t log in with admin/geoserver (although anything else gets me a > failure page), and the OpenLayers map previews won’t work because they > reference localhost:9000 in the urls. > > > > I can’t work out how to configure the geoserver instance to use the proxy > url. I have found a commented out PROXY_PASS_URL in web.xml, but changing > that didn’t help. > > > > Can anyone point me at a solution please? > > > > Justin. > > This email is only intended for the person to whom it is addressed and may > contain confidential information. If you have received this email in error, > please notify the sender and delete this email which must not be copied, > distributed or disclosed to any other person. > > Unless stated otherwise, the contents of this email are personal to the > writer and do not represent the official view of Ordnance Survey. Nor can > any contract be formed on Ordnance Survey's behalf via email. We reserve the > right to monitor emails and attachments without prior notice. > > Thank you for your cooperation. > > Ordnance Survey > Adanac Drive > Southampton SO16 0AS > Tel: 08456 050505 > http://www.ordnancesurvey.co.uk > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users