[EP-tech] Eprints 3.4 redirect loops

Duy-Hieu Bui via Eprints-tech <[email protected]>
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|618a322378191e1487a2e00352207c0bv2OBEM14eprints-tech-bounces|ecs.soton.ac.uk|[email protected]>
Hello,

I have a problem after upgrading to Eprints 3.4 and then enable HTTPS.

Everything works fine on the Internet, however, on the local network,
eprints create a redirect loops for /eprints/cgi/users/home.

The server is currently running CentOS 7 with Apache web server. It has
two ethernet interfaces. One is for the Internet (you can access it
here: eprints.uet.vnu.edu.vn), while the other is for the local network.

We have a local DNS server which will resolve this address to a local address.
When I access Eprints through the local network it always create the redirect loops.

This is the output of curl when I ran it on the local network:

curl -vso /dev/null https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.uet.vnu.edu.vn%2Feprints%2Fcgi%2Fusers%2Fhome%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=HJ5zvZpxjZN79uUQipjQ5iggwYzQt%2BUW7hza1L5YWBc%3D&amp;reserved=0 (ends with slash)

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Ftr3hcbRQ&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=PGrbdaK91vxd%2Fh6P0GdQau97fXStJK2RHJBUXMYAfUc%3D&amp;reserved=0

curl -vso /dev/null https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.uet.vnu.edu.vn%2Feprints%2Fcgi%2Fusers%2Fhome&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eB4GqxvBemN959sCky%2BCfTv1RKGnr%2Fy754RP5oxgaI4%3D&amp;reserved=0 (without slash)

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fg7HFMYAK&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0hTE5CR7uTCEGw4NXhBN3NOJzcBq5rzZDBfG6SKtiow%3D&amp;reserved=0

wget https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.uet.vnu.edu.vn%2Feprints%2Fcgi%2Fusers%2Fhome&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eB4GqxvBemN959sCky%2BCfTv1RKGnr%2Fy754RP5oxgaI4%3D&amp;reserved=0

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2F0jEBbvF0&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=LicG8U7h1RIHRcSZj%2FSfhVgEinSYTDm3uaSjRt7YF4s%3D&amp;reserved=0

SSL Httpd config file: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FC3JPGMeJ&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=fj%2BU916x9%2Bk3ekcPQQvEVkeYl6XJfkA%2BODy4SAhMx%2Bk%3D&amp;reserved=0

Archive config file: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2F0ppHMvKj&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=xh%2BZdb5xrYX0A9JYTaJHRdzzvFmtOgzgQUsO5E7gD9Q%3D&amp;reserved=0
10_core.pl: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2F5AUNSRPA&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=vJygeg7whBHw8ZTSQefTRou9Y1x2XVrIEyDbPCT3txk%3D&amp;reserved=0

I don't know why there is the redirect loop. Please help me.
Thank you.
Best regards,
Duy-Hieu Bui

P/s: if this message is not in HTML format, it might be that our webmail does not support editing
in HTML format.



*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.