EPrints Technical Mailing List Archive

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

Message: #08406


< 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


Hi Thomas,

That was good timing, I have just finished installing EPrints on Debian 10.  I encountered three problems that were relatively straightforward to deal with and I plan to deal with when I produce the EPrints 3.4.3 DEB package.  I have added them at the bottom of https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2Fw%2FDebian_Known_Issues&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C925158cd116c4474ab5508d8a2a8ba5f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438192843688806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=amGdae3t6UvschGHrGStMh9gLTdsSN9riHJHsr%2FfO%2B0%3D&amp;reserved=0 ; For reference I was installing on a new Debian 10 server not an upgraded Debian 9 server, so I installed MySQL 8.0.

I have not been able to reproduce the issue you reported. Looking at the debug output and 10_core.pl contents the only difference I see is the aliases you have set for 'sub', which I cannot see as being significant.

Looking at the error logs it logs like you might have some issues with mod deflate.  Maybe it is worth ensuring this is disabled and restarting Apache:

a2dismod deflate

systemctl restart apache2

Regards

David Newman

On 17/12/2020 15:57, th.lauke@arcor.de wrote:
CAUTION: This e-mail originated outside the University of Southampton.

Hi David,

similar to your output I got
ref target_uri: URI::http | target_uri host: sub.domain.de | ref repository_uri: URI::http | repository_uri host: sub.domain.de';

It would be useful to see your 10_core.pl ...
$c->{host} = 'sub.domain.de';
$c->{port} = 80;
$c->{aliases} = [
                   {
                     'name' => 'sub',
                     'redirect' => 'yes'
                   }
                 ];
$c->{securehost} = '';
$c->{secureport} = 443;
$c->{http_root} = undef;

... are not updated by another config file in the archive's cfg/cfg.d/ directory.
the aforementioned setting is from archive's cfg/cfg.d/ directory on our multi-site server ...!

Where I did not have any problems with login.
Login 'works', i.e. access is granted, but redirection is noticed and reported ...
[Thu Dec 17 16:06:37.632852 2020] [authz_core:debug] [pid 7191] mod_authz_core.c(820): [client 192.168.19.179:57935] AH01626: authori
zation result of Require valid-user : granted, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F
[Thu Dec 17 16:06:37.632878 2020] [authz_core:debug] [pid 7191] mod_authz_core.c(820): [client 192.168.19.179:57935] AH01626: authori
zation result of <RequireAny>: granted, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F
[Thu Dec 17 16:06:37.632890 2020] [core:trace3] [pid 7191] request.c(312): [client 192.168.19.179:57935] request authorized without a
uthentication by access_checker_ex hook: /cgi/users/login, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub
.domain.de%2F
[Thu Dec 17 16:06:37.634252 2020] [filter:trace2] [pid 7191] mod_filter.c(193): [client 192.168.19.179:57935] Content-Type condition
for 'deflate' did not match: no Content-Type, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F
[Thu Dec 17 16:06:37.634277 2020] [filter:trace2] [pid 7191] mod_filter.c(193): [client 192.168.19.179:57935] Content-Type condition
for 'deflate' did not match: no Content-Type, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F
[Thu Dec 17 16:06:37.634289 2020] [filter:trace2] [pid 7191] mod_filter.c(193): [client 192.168.19.179:57935] Content-Type condition
for 'deflate' did not match: no Content-Type, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F
[Thu Dec 17 16:06:37.634299 2020] [filter:trace2] [pid 7191] mod_filter.c(193): [client 192.168.19.179:57935] Content-Type condition
for 'deflate' did not match: no Content-Type, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F
[Thu Dec 17 16:06:37.634315 2020] [http:trace3] [pid 7191] http_filters.c(1128): [client 192.168.19.179:57935] Response sent with sta
tus 200, headers:, referer: sub.domain.de/cgi/users/login?target=http%3A%2F%2Fsub.domain.de%2F

Many thanks for your immediate help
Thomas

--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C925158cd116c4474ab5508d8a2a8ba5f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438192843688806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3tIcZwoLsa31GshXE96WX9DljHawq4PXkowT9CcTfhY%3D&amp;reserved=0