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.
Okay, so suexec comes precompiled to use a given directory. Your distro's version of Apache uses one thing, and Virtualmin's is compiled for /home.
So if you're using Virtualmin's Apache version, your options are:
Switch back to the Apache provided by your distro
Recompile suexec to use your preferred directory
Disable suexec altogether (in System Settings -> Server Templates -> Default -> Apache Website)
Further, if you want to use something other than /home, you'd also have to change some paths within Virtualmin, such as in System Settings -> Module Config -> Defaults for new domains, where it's see to /home by default.
If you aren't tied to it for some reason, using /home may be quite a bit simpler :-)
-Eric
Which version of Virtualmin are you using, the Pro or GPL?
And did you install with the install.sh script?
How to change this depends on the above ;-) -Eric
webmin-1.470-1.noarch.rpm
wbm-virtual-server-3.69.gpl-1.noarch.rpm
wbt-virtual-server-theme-7.1-1.noarch.rpm
and i used the manual installation guide
Okay, so suexec comes precompiled to use a given directory. Your distro's version of Apache uses one thing, and Virtualmin's is compiled for /home.
So if you're using Virtualmin's Apache version, your options are:
Switch back to the Apache provided by your distro
Recompile suexec to use your preferred directory
Disable suexec altogether (in System Settings -> Server Templates -> Default -> Apache Website)
Further, if you want to use something other than /home, you'd also have to change some paths within Virtualmin, such as in System Settings -> Module Config -> Defaults for new domains, where it's see to /home by default.
If you aren't tied to it for some reason, using /home may be quite a bit simpler :-) -Eric