Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to initialise Virtualmin. After installing it via Webmin->Module->new module installation screen.

This is the message that I am getting in Webmin:

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

How do I correct this error so that Virtualmin can start working?

share|improve this question

It would have been helpful if you told which distro you are using.

Anyhow, on debian-based distros you would need to edit the /etc/apache2/suexec/www-data file and add the /home path.

If you do not have that file, make sure apache2-suexec-custom apt package is installed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.