Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.53 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.53 KB

EPrints webserver + SAML authentication inspired by Shibboleth example: http://wiki.eprints.org/w/Webserver_authentication#Add_the_login_script

INSTALLATION INSTRUCTIONS

*** Backup everything first.. I cannot be responsible for eventual damage.

Requirements

After installing/configuring requirements put "login" script somewhere in your archive directory eg. $EPRINTS_ROOT/archives/$ARCHIVE_ID/aaieduhr/login

Configure apache to 'secure' that location: eg.


    Alias /aaieduhr /usr/share/eprints3/archives/ARCHIVE_ID/aaieduhr
    <Directory "/usr/share/eprints3/archives/ARCHIVE_ID/aaieduhr">
            SetHandler perl-script
            PerlHandler ModPerl::Registry
            PerlSendHeader Off
            Options ExecCGI FollowSymLinks


            Auth_memCookie_Memcached_AddrPort "127.0.0.1:11211"

            Auth_memCookie_Authoritative on

            Auth_memCookie_SessionTableSize "40"

            AuthType Cookie
            AuthName "Eprints@ARCHIVE_ID"

            ErrorDocument 401 "/simplesaml/authmemcookie.php"

            Require valid-user

    </Directory>

Restart, test..