Changing Website Options for Several Sites at once

Hi, I just noticed that my sites aren’t configured to run CGI scripts as domain owner. How can I change them all at once without having to go into each one manually?

Also how can I configure Virtualmin so that it automatically sets CGI scripts to run as domain owner on new virtual hosts?

Thanks,
Andrew

Also how can I configure Virtualmin so that it automatically sets CGI scripts to run as domain owner on new virtual hosts?

I believe you can set this part in the System Settings > Server Templates (Click your template) > Apache Website. Then find “Default PHP Execution Mode” and set it how you want.

Thanks, I found the settings alright. Now I’m having second thoughts on enabling suExec. I am the only person with access to the accounts on the server. Is it really necessary for additional security? Is everything being run as apache without suExec, and I run the risk of executing world writable files?

I would still enable mod_fcgid and suexec. because then you can run apache also with mpm worker if you need. Not possible with mod_php