[french newby]Suexec prolem

4 posts / 0 new
Last post
#1 Thu, 12/11/2008 - 13:02
tom23

[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.

Thu, 12/11/2008 - 14:40
andreychek

Howdy,

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

Have a good one!
-Eric

Sun, 12/14/2008 - 06:41 (Reply to #2)
ronald
ronald's picture

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

Thu, 12/11/2008 - 22:50
tom23

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

I'll be back if i want more help.

Thanks a lot !