EPrints Technical Mailing List Archive

Message: #08401


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

[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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C172df8fa816c4a0bcf8a08d8a0f0ce63%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637436303409676874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=GikrLMpbBJ4WcWcq3ZyRQcutQozVaQ0MtoVnYkw1omo%3D&amp;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@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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C172df8fa816c4a0bcf8a08d8a0f0ce63%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637436303409676874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=45JtwH9mZevZZXexK69JIiRrtCJGFLPfssZFNof7Cig%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C172df8fa816c4a0bcf8a08d8a0f0ce63%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637436303409676874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=prrqY%2FsrIosewe7qWTECk%2Fww7WMp0rEmEFpd2IqYgBA%3D&amp;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 ...