Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.