EPrints Technical Mailing List Archive

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

Message: #10082


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

[EP-tech] Hi and help


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

Hi everyone.
Greetings to all.

I'm relatively new to EPrints, and I'm currently in the process of migrating a login-only site:

  • OLD site: EPrints 3.3.12, Ubuntu 12, Apache 2.2.22

  • NEW site: EPrints 3.4.6, AlmaLinux 9.5, Apache 2.4.62

The old site used the instructions from https://wiki.eprints.org/w/Login-Only_Repository (last edited on 2010), and it worked well. However, those instructions no longer seem to work with the newer Apache version.

After many attempts and trial-and-error testing, I haven't been able to make it work as it did before.

I found new configuration options (like login_required...),  but they don’t seem to have any effect — or I might not be using them correctly:
https://wiki.eprints.org/w/Miscellaneous_Config_Options#L

I created the file archives/myrepo/cfg/cfg.d/z_login_required.pl with the following content:

$c->{login_required_for_cgi_enable} = 1;
$c->{login_required_for_eprints_enable} = 1;
$c->{login_required_for_views_enable} = 1;

Then I restarted Apache and regenerated statics, views, abstracts, etc., but no luck. The site is still not login-only like it was before.

Any suggestions would be greatly appreciated.

Thanks and best regards.