Justin Rowles (C <Justin.Rowles <at> ordnancesurvey.co.uk> writes:
> 
> 
> 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.
> 

Another handy Apache directive is the ProxyPassReverseCookiePath:

    ProxyPass / http://phoenix:8080/geoserver/
    ProxyPassReverse / http://phoenix:8080/geoserver/
    ProxyPassReverseCookiePath /geoserver /

I found this to be useful for a number of WebApps sitting behind proxies that
use cookies for recording that you've authenticated.

I used FireBug under Firefox to tell what path the server was trying to set
('/geoserver' in my case) and then used the directive to turn it back to what
was needed ('/').

Jett




------------------------------------------------------------------------------
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