EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08403


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

Re: [EP-tech] login-only repository on Debian10


CAUTION: This e-mail originated outside the University of Southampton.

Hi all,

> But after update to Debian10, the error message ...
after some debugging I have the notion the update to EP 3.4.2 causes our problem:

> Can't locate object method "host" via package "URI::_generic" at /usr/share/eprints/cgi/users/login line 16.
Introducing some verbose messages in this routine I end up with
$VAR1 = 'https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2815d25b940f42d308cd08d8a1f8738e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637437435750199705%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=LHNnAOIN2CZlNHil335olVbcqjFDhx4e9IMz7FdwPok%3D&amp;reserved=0';
$VAR1 = '$target_uri';
$VAR2 = bless( do{\(my $o = 'https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2815d25b940f42d308cd08d8a1f8738e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637437435750199705%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=LHNnAOIN2CZlNHil335olVbcqjFDhx4e9IMz7FdwPok%3D&amp;reserved=0')}, 'URI::http' );
$VAR1 = '$repository_uri';
$VAR2 = bless( do{\(my $o = 'https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2815d25b940f42d308cd08d8a1f8738e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637437435750209697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=x2U9IzpIaNWQe2pB8b%2FOLip%2BgFr9AU4Tz9jrEgmA3c4%3D&amp;reserved=0')}, 'URI::http' );
$VAR1 = 'https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2815d25b940f42d308cd08d8a1f8738e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637437435750209697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=x2U9IzpIaNWQe2pB8b%2FOLip%2BgFr9AU4Tz9jrEgmA3c4%3D&amp;reserved=0';
$VAR1 = 'Hi@redirect@EP::Repository: status\\n';
$VAR2 = 302;
$VAR1 = 'https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2815d25b940f42d308cd08d8a1f8738e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637437435750209697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=x2U9IzpIaNWQe2pB8b%2FOLip%2BgFr9AU4Tz9jrEgmA3c4%3D&amp;reserved=0';
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2815d25b940f42d308cd08d8a1f8738e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637437435750209697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=x2U9IzpIaNWQe2pB8b%2FOLip%2BgFr9AU4Tz9jrEgmA3c4%3D&amp;reserved=0";>here</a>.</p>
<hr>
<address>Apache/2.4.38 (Debian) Server at sub.domain.de Port 80</address>
</body></html>
i.e. necessary redirections are not sufficiently ignored!?

How to get the httpd information controlled, i.e. quieter?
Is EP::Rewrite.pm the appropriate source?

Many thanks for any suggestion in advance
Thomas