Apache config as user 'expo'

This commit is contained in:
Philip Sargent 2022-03-29 16:26:53 +01:00
parent 428a7498e8
commit 974acf8fd2

View File

@ -86,6 +86,12 @@ be copied here in due course.
<li>to install the master system following a new operating system install on the public server
</ul>
<p>Apache needs to run as user 'expo', not 'www-data' as standard. This is due to a basic incompatibility in permissions between apache and git: git does not honour existing permissions exactly. See
<a href="https://nim-labs.com/run-apache-alternate-user/">How to run apache as an alternate user</a>.
<p>Although troggle will appear to work with sqlite database, it needs a proper concurrrent access database to manage multiple users. sqlite is
single-user (effectively a separate instance of django is created for each page access, so even one person looking at several pages at once is
"multi-user").
<p>The folder structure on the server is as shown below. It is all
in the user folder for the user <var>expo</var> i.e. in
<br>/home/user/expo: