Sorry guys that I insist with this subject but IMO, the problem is not solved, at least from my point of view.
I said “at least my point of view” because also @syntaxerrormmm:
have suggested /requested to be used the Virtual Host Module implemented in NethServer.
The solutions presented here, in this topic, and here:
Nextcloud in new virtualhost
are functionally, very simple, but does not use at all the NethServer Virtual Host Module. The solutions use symlink.
Rhetorical question: why was this module (NS Virtual Host) created?
I need to use the NS VH Module because I want to set a dedicated server to host multiple websites: Nextcloud for my company, my company website based on Wordpress, other customers websites.
I need to use the NS VH Module because I want to set a dedicated server to host multiple websites: Nextcloud for my company, my company website based on Wordpress, other customers websites. There are some advantages using this module: easy to setup (the directories, the configuration file, server alias, FTP access, are automatically created), can be monitored by Web Statistics (the AWStats module by @stephdl ), are all in the same place/location (/var/lib/nethserver/vhost/****).
If the NS VH Module were to be used, it would mean that the entire content of the Nextcloud folder should be inside the VH folder created through GUI (Management -> Virtual hosts), in this location: /var/lib/nethserver/vhost/nextcloud.
If we use the NS Nextcloud module (which should be the optimal solution), will be installed in this location: /usr/share/nextcloud.
So, some questions from me:
- is there a functional procedure to move “nextcloud” from default installation path to “vhost” path and, of course, Nextcloud to be functional after that?
- can be modified the installation process of the module so the default installation path to be chosen by the user?
- can be modified the installation process of the module so the default installation path to be inside the real virtualhost (/var/lib/nethserver/vhost/nextcloud)?
- common question for all three from above: will the module automatically updated?
Thank you all in advance for the patience to read this and for your future answers!