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

th.lauke at arcor.de th.lauke at arcor.de
Thu Dec 17 17:35:23 GMT 2020


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

Hi David,

> ... when I produce the EPrints 3.4.3
I intend to suggest a modified systems.xml ...
When will be the version freeze?

> I have not been able to reproduce the issue you reported.
lucky guy ;)

> ... you might have some issues with mod deflate.
in spite of
WARNING: The following essential module will be disabled.
This might result in unexpected behavior and should NOT be done
unless you know exactly what you are doing!
I was not really successful: the redirection still mangles the target's address :(

Starting with the hostname as www-address the login page is shown on
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2Fcgi%2Fusers%2Flogin%3Ftarget%3D%2Fhome.html&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f1AWj5KYGrk0ro8pwVu55fgQr9ESNvGXDOp1edoK8Fk%3D&reserved=0
or
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2Fcgi%2Fusers%2Flogin%3Ftarget%3D%2Fcgi%2Fusers%2Fhome&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uHPUTd8min4o8qZ1jlboVm72Nzj5p20tAZHT%2BHUeckE%3D&reserved=0
which doesn't work, i.e. led to the initial error message from uri::_generic.

Starting the login process on
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2Fcgi%2Fusers%2Flogin%3Ftarget%3Dhttp%253A%252F%252Fsub.domain.de%252Fhome.html&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=SbPsHoE0t%2BvhyND8%2B7wgPDFa06y5DVdws3d8C8CPI60%3D&reserved=0
works as desired :)

Currently (without intense testing) I am fine with modification of
<LocationMatch "^/$">
  Redirect / https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2Fcgi%2Fusers%2Flogin%3Ftarget%3D%2Fhome.html&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=f1AWj5KYGrk0ro8pwVu55fgQr9ESNvGXDOp1edoK8Fk%3D&amp;reserved=0
</LocationMatch>
to
<LocationMatch "^/$">
  Redirect / https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2Fcgi%2Fusers%2Flogin%3Ftarget%3Dhttp%3A%2F%2Fsub.domain.de%3A80%2Fhome.html&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=OsjgyoAHR1lWUP8KZRixCCPbeb2tfua94Qii2sWkqNQ%3D&amp;reserved=0
</LocationMatch>
But is this really necessary, i.e. the best way?

Does the disabling of mod deflate introduce any harm?
I will check the influence, but what's your opinion?

Again, many thanks for your immediate assistance
Thomas



More information about the Eprints-tech mailing list