[french newby]Suexec prolem

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 :slight_smile:

Have a good one!

Thanks for your help, i think i try to disable Suexec.

I’ll be back if i want more help.

Thanks a lot !

in the module config you can point the new created domains to /home/sites
would be a viable compromise, no?