Changing Website Options for Several Sites at once

4 posts / 0 new
Last post
#1 Mon, 03/28/2011 - 12:04
arosborough

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

Mon, 03/28/2011 - 12:55
SteveHeinsch

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.

Mon, 03/28/2011 - 13:10 (Reply to #2)
arosborough

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?

Mon, 03/28/2011 - 20:32
helpmin

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

Topic locked