[GeoNetwork-devel] Forward to localhost:8080?

This appears to be a change so that the POST request to user.login no longer gets a 200 + content response, but instead a 302 response (non-permanent redirect), and the content of that redirect is not compatible with a proxy.

Does that ring a bell to anyone?

(All my prior testing was on localhost:8080, so I didn’t see this problem till doing a practice run for go-live!)

Justin.


From: Justin Rowles (C)
Sent: 18 November 2010 14:13
To: geonetwork-devel@lists.sourceforge.net
Subject: Forward to localhost:8080?

Hi all,

I am testing 2.6.1 for release and hitting a very strange effect that doesn’t happen with 2.6.0.

I am using the Jetty container fronted by Apache on port 80 with a ProxyPass for /geonetwork to localhost:8080/geonetwork.

If I start the 2.6.0 server everything is fine.

Stop the 2.6.0 server and start the 2.6.1 server (pointing at the same database – config.xml is identical apart from the uploadDir and the additional SQL Server block).

The front page is returned correctly, but the log in button forwards to “http://localhost:8080/geonetwork/…”.

Stop the 2.6.1 server and restart the 2.6.0 (then restart Apache) and everything is fine again.

I cannot imagine what the problem might be. Any suggestions?

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
Romsey Road
Southampton SO16 4GU
Tel: 08456 050505
http://www.ordnancesurvey.co.uk

Hi Justin

In 2.6.1 we did a change to redirect after login/logout to main.home page instead of use forward so the url shown to the user is the corresponding to the main page of geonetwork.

I see you have fixed it. I´ll check to add the solution for this in the user manual. Thanks.

Regards,
Jose García

On Thu, Nov 18, 2010 at 4:25 PM, Justin Rowles (C) <Justin.Rowles@anonymised.com> wrote:

This appears to be a change so that the POST request to user.login no longer gets a 200 + content response, but instead a 302 response (non-permanent redirect), and the content of that redirect is not compatible with a proxy.

Does that ring a bell to anyone?

(All my prior testing was on localhost:8080, so I didn’t see this problem till doing a practice run for go-live!)

Justin.


From: Justin Rowles (C)
Sent: 18 November 2010 14:13
To: geonetwork-devel@lists.sourceforge.net
Subject: Forward to localhost:8080?

Hi all,

I am testing 2.6.1 for release and hitting a very strange effect that doesn’t happen with 2.6.0.

I am using the Jetty container fronted by Apache on port 80 with a ProxyPass for /geonetwork to localhost:8080/geonetwork.

If I start the 2.6.0 server everything is fine.

Stop the 2.6.0 server and start the 2.6.1 server (pointing at the same database – config.xml is identical apart from the uploadDir and the additional SQL Server block).

The front page is returned correctly, but the log in button forwards to “http://localhost:8080/geonetwork/…”.

Stop the 2.6.1 server and restart the 2.6.0 (then restart Apache) and everything is fine again.

I cannot imagine what the problem might be. Any suggestions?

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
Romsey Road
Southampton SO16 4GU
Tel: 08456 050505
[http://www.ordnancesurvey.co.uk](http://www.ordnancesurvey.co.uk)


Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork