Hi !
First, i’m french and i’m sorry for my english language quality.
I would like put my websites in an other partition than /home.
It names /sites
After change localisation of home of users to /sites i have a error when i check virtualmin config:
The Suexec command on your system is configured to only run scripts under /home, but the Virtualmin base directory is /sites. CGI and PHP scripts run as domain owners will not be executed
How can i resolv this problem ??
Thanks for youe help, and thanks to be simple in your threads.
First, I recommend keeping the websites on /home – it makes things much easier.
The problem is that the suexec program is compiled to use /home.
If you really don’t want to use /home, you have two options:
Recompile suexec to use /sites
Disable SuExec; you can do that by going into System Settings -> Server Templates -> Apache Website, and setting "Automatically add appropriate SuExec directive" to "No".
Using suexec improves security, as programs run as the Virtual Server owner, not as Apache. But, sometimes people prefer not to use it