EPrints Technical Mailing List Archive

Message: #03030


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Link received from accepting request for a copy redirects to log-in page

  • To: eprints-tech@ecs.soton.ac.uk
  • Subject: [EP-tech] Link received from accepting request for a copy redirects to log-in page
  • From: Ivan Gladovic <ivan@phy.hr>
  • Date: Thu, 15 May 2014 15:39:59 +0200

Hello all for the first time!

We're having a problem with links received from accepting request a copy (via cookie) routine. Received link redirects to a login page.
I've checked apache log, and there is nothing strange there, for example:

[15/May/2014:13:55:05 +0200] "GET /cgi/process_request?code=1DF6ED7F518A3E58E391D39D1C4AEDF6 HTTP/1.1" 302 661 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0" [15/May/2014:13:55:05 +0200] "GET /663/1/2423.pdf HTTP/1.1" 302 267 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0" [15/May/2014:13:55:05 +0200] "GET /cgi/users/login?target=http%3A%2F%2Fdigre.pmf.unizg.hr%2F663%2F1%2F2423.pdf HTTP/1.1" 302 279 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0"

Expired links give correct result (The request is no longer valid.).
Before upgrade to version 3.3.12 send requested copy via attachment worked OK.

At first I thought it's because of LDAP Authentication, but also after I restored original user_login.pl and user_roles.pl file the problem remained the same. I don't want to fall back to send eprints as attachment (problems with big files).

Thanks in advance if someone knows a solution for this problem.

Ivan Gladovic
Faculty of Science, University of Zagreb
http://digre.pmf.unizg.hr/