OK
in /etc/apache2/sites-enabled/010-mydomain.conf
I have -
<VirtualHost 192.168.1.102:80>
ServerName mydomain.com
ServerAlias www.mydomain.com
ServerAdmin webmaster@mydomain.com
DocumentRoot /var/www/mydomain
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Include conf-available/nextcloud.conf
</VirtualHost>
In my conf-available/nextcloud.conf
I have -
Alias "/mycloud" "/var/www/nextcloud/"
<Directory "/var/www/nextcloud/">
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
<Directory "/var/www/nextcloud/data/">
Options +FollowSymlinks
Require all granted
</Directory>
My nextcloud.conf
file as above is the current config, but I have also tried a couple of other changes, of course without success.
I’ve noticed not all of the Apache directive statements show up in these posts, especially not the closing.