EPrints Technical Mailing List Archive

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

Message: #08407


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

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


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&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
or
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2Fcgi%2Fusers%2Flogin%3Ftarget%3D%2Fcgi%2Fusers%2Fhome&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=uHPUTd8min4o8qZ1jlboVm72Nzj5p20tAZHT%2BHUeckE%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6d6aa63faac74bb21a5f08d8a2b22533%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438233313606436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=SbPsHoE0t%2BvhyND8%2B7wgPDFa06y5DVdws3d8C8CPI60%3D&amp;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