Hi,
I’m using Virtualmin GPL.
I want to install ownCloud on my virtual server for which I don’t have an install script. Still I want to install ownCloud to /home/myvirtualserver/public_html or /home/myvirtualserver and not to my root directory. What is the preferred way in Virtualmin to achieve this?
Hi Eric, thank you very much for your answer.
In fact I was asking about a general approach to install packages automatically to a specific location. But it doesn’t matter any more since ownCloud has its built-in update mechanism which has been the reason why I wanted to install it via package manager in the first place.
Alias /owncloud "/var/www/owncloud/"
Options +FollowSymlinks
AllowOverride All
Dav off
SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
The installation manual wants me to add those lines to the /etc/apache2/sites-available folder. I wondered whether this is the preferred solution for virtualMin virtual servers. Should I place the owncloud.conf file right next to myVirtualServer.conf or should I add this content to myVirtualServer.conf ?