[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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=HJ5zvZpxjZN79uUQipjQ5iggwYzQt%2BUW7hza1L5YWBc%3D&reserved=0 (ends with slash) https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Ftr3hcbRQ&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=PGrbdaK91vxd%2Fh6P0GdQau97fXStJK2RHJBUXMYAfUc%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=eB4GqxvBemN959sCky%2BCfTv1RKGnr%2Fy754RP5oxgaI4%3D&reserved=0 (without slash) https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fg7HFMYAK&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=0hTE5CR7uTCEGw4NXhBN3NOJzcBq5rzZDBfG6SKtiow%3D&reserved=0 wget https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.uet.vnu.edu.vn%2Feprints%2Fcgi%2Fusers%2Fhome&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=eB4GqxvBemN959sCky%2BCfTv1RKGnr%2Fy754RP5oxgaI4%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2F0jEBbvF0&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=LicG8U7h1RIHRcSZj%2FSfhVgEinSYTDm3uaSjRt7YF4s%3D&reserved=0 SSL Httpd config file: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FC3JPGMeJ&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=fj%2BU916x9%2Bk3ekcPQQvEVkeYl6XJfkA%2BODy4SAhMx%2Bk%3D&reserved=0 Archive config file: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2F0ppHMvKj&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=xh%2BZdb5xrYX0A9JYTaJHRdzzvFmtOgzgQUsO5E7gD9Q%3D&reserved=0 10_core.pl: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2F5AUNSRPA&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfac3197fd46844c83c1308d6b113012a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=vJygeg7whBHw8ZTSQefTRou9Y1x2XVrIEyDbPCT3txk%3D&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/