This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
although virtualmin is designed to use the /home directory, it seems to me that you can change this in the server template
virtualmin-system settings-server template-click default template-navigate to Apache website and change the DocumentRoot and other settings involving ${HOME}
but don't blame me if it breaks things.
Better have Jamie or Joe advice you on this!
Grab the virtualmin-release package and install it.
Or, just use our automated install script, which gets everything right out of the box (though it doesn't setup fcgi wrappers for you, in the GPL version).
Note that rpmforge packages (particularly clamav) are known to be incompatible with ours (which are based on Fedora Extras, generally).
although virtualmin is designed to use the /home directory, it seems to me that you can change this in the server template
virtualmin-system settings-server template-click default template-navigate to Apache website and change the DocumentRoot and other settings involving ${HOME}
but don't blame me if it breaks things.
Better have Jamie or Joe advice you on this!
The easiest location to change this is in the System:Users and Groups module configuration.
But, I wouldn't particularly recommend it.
Why do you want to put home directories in /var/www?
--
Check out the forum guidelines!
If I cant change docroot then i wanted to try changing the virtualhost directories into the docroot.
I have spent far too much time trying to get fcgid working - no luck !!
The entire Internet has a major lack in documentation in setting up cgi wrapper/fcgid.
I am getting the usual docroot error.
I just tried recompiling httpd which i did with docroot set but it installs in some obscure directory.
I am using CentOS 5 and have rpmforge, kbsingh etc repos at hand.
Followed all of the instructions, uninstalled/re-installed webmin, virtualmin, httpd, perl, php you name it.
I would really appreciate, as I am sure would others, a simple tutorial on setting up fcgid - as this is an important stage in my services plan.
Many many thanks for such a great product, I am a Pro subscriber and love it !!
Look forward to hearing from you soon
Costa
<div class='quote'>I am getting the usual docroot error.</div>
I don't know what the "usual" docroot error is. ;-)
<div class='quote'>I am using CentOS 5 and have rpmforge, kbsingh etc repos at hand.</div>
Why not use ours? We provide an Apache package for CentOS that has docroot set to /home.
http://software.virtualmin.com/gpl/centos/5/$arch
Grab the virtualmin-release package and install it.
Or, just use our automated install script, which gets everything right out of the box (though it doesn't setup fcgi wrappers for you, in the GPL version).
Note that rpmforge packages (particularly clamav) are known to be incompatible with ours (which are based on Fedora Extras, generally).
--
Check out the forum guidelines!
i ran the install script i think.
should i set protect to 1 on the virtualmin repo ?
thanks
Excellent !!
That did the trick.
Thankyou Joe