EPrints Technical Mailing List Archive

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

Message: #09630

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

[EP-tech] Run Apache as EPrints

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

I'm finally upgrading our live repository server and following this guidance which appears to have been updated since I last built a server (mid 2023 for our test repository):

I have a question about running apache as the EPrints user which is included here:

Now, update Apache configuration to set it up to use the eprints user and group, by ensuring the following lines are set thus in /etc/apache2/envvars:

export APACHE_RUN_USER=eprints
export APACHE_RUN_GROUP=eprints

On our recent server rebuilds (Ubuntu 20/22 and some version of EPrints 3.4) I haven't taken this step - presumably because it wasn't there. The /etc/apache2/envars file shows 222-data for each of these two settings. Does this matter? Should I go back and change it for past instances? Do I leave it as www-data for our current one?

I'm not sure what is best to do. On one hand "if it isn't broken..." and on the other "this might be really important". Our live repository is very old and these values are still www-data on there.