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.