EPrints Technical Mailing List Archive

Message: #08408


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

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


Hi Thomas,

I have not yet set a change freeze date.  In theory I intended to get EPrints 3.4.3 released before the end of the year but I have not been able to recruit any alpha testers from my colleagues, as they are too busy at the moment.  So the release will be sometime Q1 2021 (so by the end of March but hopefully somewhat sooner).  I cannot imagine the change freeze will be until at least mid-January if not later. What sort of changes do you intend to make to system.xml?

I have to admit I have given up trying to read what you wrote towards the end of your email as it is too mangled by the mailing list mailserver. (I am on the same mailserver so you can probably imagine how frustrating I find this when having technical discussions about web based systems).  Is there any chance you could send just me what you wrote after "in spite of" in an attached text file.  I can see you seem to have had to add some hacks to various Apache config files.  If you could also send me the contents of you /usr/share/eprints/cfg/ and any other Apache config files (e.g. those in /etc/apache2/sites-enabled/).  Then I might be able to better understand if there is something you have done that has led to the problems you are experiencing.   One other possible issue is that the old Apache config files for your original repository hostname are still present and being loaded from /usr/share/eprints/cfg/ as well as the new one for sub.domain.de.  Another issue could be that you have the 000-default.conf and eprints.conf in /etc/apache2/sites-enabled and then are conflicting with each other.  Have you tried disabling the former (i.e. a2dissite 000-default && systemctl restart apache2)?

Regards

David Newman

On 17/12/2020 17:35, th.lauke@arcor.de wrote:
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%7C4dd860e8f54c4893b43608d8a2b4cc50%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438244700222655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=as%2BZtbRt3xezzPicXjgbgRCANYLXVgbyJPYN9ToXacU%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%7C4dd860e8f54c4893b43608d8a2b4cc50%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438244700222655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=BLsLVwIZYq%2FO1THxo8%2F%2F7QQ0AAHmhWFZS5I8uOcWlAs%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%7C4dd860e8f54c4893b43608d8a2b4cc50%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438244700222655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=x6hHU7gPNRUgBkKxKc9ZdlsT1CfBiaTYhsLXxUczNqU%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%7C4dd860e8f54c4893b43608d8a2b4cc50%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438244700222655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=as%2BZtbRt3xezzPicXjgbgRCANYLXVgbyJPYN9ToXacU%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%7C4dd860e8f54c4893b43608d8a2b4cc50%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438244700222655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=OzZfCbGXMsrDWEak%2F7Grz%2B%2FtlRg8vyCbUi%2FYh4jS%2FDw%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

--
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%7C4dd860e8f54c4893b43608d8a2b4cc50%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637438244700232643%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=EQvXo6rpKyWWsEbQNp6jNu5ERHM5ZpE0jYQDWfAu%2Fzk%3D&amp;reserved=0