These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [french newby]Suexec prolem on the new forum.
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 executedHow can i resolv this problem ??
Thanks for youe help, and thanks to be simple in your threads.
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
in the module config you can point the new created domains to /home/sites
would be a viable compromise, no?
Thanks for your help, i think i try to disable Suexec.
I'll be back if i want more help.
Thanks a lot !