[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] login-only repository on Debian10
CAUTION: This e-mail originated outside the University of Southampton.
Hi all,
apart from the obsolete apache's directives, is https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FLogin-Only_Repository&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C172df8fa816c4a0bcf8a08d8a0f0ce63%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637436303409676874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GikrLMpbBJ4WcWcq3ZyRQcutQozVaQ0MtoVnYkw1omo%3D&reserved=0 still up to date for usage on an debian 10 server?
Using following configuration
<VirtualHost *:80>
ServerName sub.domain.de
ServerAlias sub
ServerAdmin admin at domain.De
DocumentRoot /usr/share/eprints/archives/subDocs
Include /usr/share/eprints/cfg/perl_module_isolation_vhost.conf
Redirect / https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsub.domain.de%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C172df8fa816c4a0bcf8a08d8a0f0ce63%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637436303409676874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=45JtwH9mZevZZXexK69JIiRrtCJGFLPfssZFNof7Cig%3D&reserved=0
<Location "">
AuthName "Documents Area"
AuthType Basic
PerlAuthenHandler EPrints::Apache::Auth::authen
PerlAuthzHandler EPrints::Apache::Auth::authz
PerlSetVar EPrints_ArchiveID EPid
Options +ExecCGI
require valid-user
</Location>
<LocationMatch "images|javascript|style">
require all granted
</LocationMatch>
<LocationMatch "^/$">
Redirect / 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%7C172df8fa816c4a0bcf8a08d8a0f0ce63%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637436303409676874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=prrqY%2FsrIosewe7qWTECk%2Fww7WMp0rEmEFpd2IqYgBA%3D&reserved=0
</LocationMatch>
PerlTransHandler +EPrints::Apache::Rewrite
</VirtualHost>
we could run our server successfully ...
But after update to Debian10, the error message
Can't locate object method "host" via package "URI::_generic" at /usr/share/eprints/cgi/users/login line 16.
occurs, after giving the login credentials on the start page.
Where to start debugging?
Many thanks for any comments in advance
Thomas
P.S.: Using the apache configuration generated by EPrints no problems occur so far ...