Hi,

does the dspace.log log file contains any entries like the following one?

2014-MM-DD HH:MM:SS,YYY WARN org.dspace.app.webui.util.UIUtil @ POSSIBLE 
HIJACKED SESSION: request from XXX.XXX.XXX.XXX does not match original session 
address: XXX.XXX.XXX.XXX. Authentication rejected.

How are the configuration properties dspace.baseUrl and dspace.url set?

Regards,
  Pascal Becker

From: Fitzpatrick, Christopher [mailto:c...@wmu.se]
Sent: Wednesday, September 03, 2014 9:37 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] JSPUI reverse proxy authentication

Hi All,
I just setup dspace for the first time. We're wanting to use the jspui 
interface. I setup nginx as a reverse proxy in front of tomcat, but it seems 
that the authentication is not sticking. What I mean by that is I can 
authenticate a user, and the page does show that I am logged in ( and I have 
access to certain restricted pages). But the user will lose its session after a 
couple of minutes or on certain pages.
This is not happening if I access tomcat directly at port 8080, so I think 
there's something I'm missing on my nginx conf. ( included below ).
Any ideas? Thanks for the help...b,chris,

 location / {
        proxy_pass  http://dspace;
        proxy_next_upstream error timeout invalid_header http_500 http_502 
http_503 http_504;
        proxy_redirect http://dspace http://dlib.wmu.se;

        proxy_buffering off;
        proxy_store     off;

            proxy_connect_timeout 120;
        proxy_send_timeout    120;
        proxy_read_timeout    120;

        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to