suexec configured to run under /var/www

I installed Virtualmin using the install.sh script on a brand new CentOS 5.4 system with all updates applied. When I log into Virtualmin and go through the post install process I get this error at the end, when it wants to check to make sure everything is working correctly.

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

If I go to "Server Templates > Default Settings > Apache Website and set “Automatically add appropriate SuExec directive?” to no it disappears, but I would like to find out why SuExec isn’t working.

Howdy,

Yeah, that’s pretty odd, as on a typical installation with the install.sh, suexec would be configured correctly.

What do you see if you log into the command line, and type this:

rpm -qa | grep httpd

Thanks,

-Eric

httpd-2.2.3-31.e15.centos.2