On Fri, Jan 28, 2011 at 8:47 AM, Justin Rowles (C) <
justin.row...@ordnancesurvey.co.uk> wrote:

>  Thanks Justin.  That’s spot on.
>
>
>
> There is a slight further problem – you can’t log in to change the proxy
> setting (from outside the proxy) without having the proxy setting set!
>
>
>
Hmmm... true :) It is kind of tricky to bootstrap the process if your server
is not visible at all through the non proxied url.


> Any idea which version last worked, and I will use an old one for the time
> being?
>
>
>
Tough to say. Not for quite some time I think. You could try a 1.7.x but
that is quite an old release now and no longer supported.

You could manually make the change in the data directory without logging in
through the interface before your deploy geoserver. It is a simple change to
global.xml, just add <proxyBaseUrl>http://<proxyHost>/geoserver</proxyBaseUrl>
before the closing </global> element.

Just.
>
>
>  ------------------------------
>
> *From:* Justin Deoliveira [mailto:jdeol...@opengeo.org]
> *Sent:* 28 January 2011 15:42
> *To:* Justin Rowles (C)
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] Proxying Geoserver.
>
>
>
> Hi Justin,
>
> On Fri, Jan 28, 2011 at 5:34 AM, Justin Rowles (C) <
> justin.row...@ordnancesurvey.co.uk> 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.
>
>
>
> Actually I found this recently as well. It is a bug filed here.
>
>
>
> http://jira.codehaus.org/browse/GEOS-4325
>
>
>
> However, you can also set it from the "Global Settings" page in the web ui.
> Look for proxy base url. When setting this geoserver will use this as the
> base url for any self referencing urls.
>
>
>
> -Justin
>
>
>
> 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
>
>
>
>
> --
> Justin Deoliveira
>
> OpenGeo - http://opengeo.org
>
> Enterprise support for open source geospatial.
>
>
>
> 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 050505http://www.ordnancesurvey.co.uk
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
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

Reply via email to