3

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?

Wesley
  • 32,320
  • 9
  • 80
  • 116
Arvind
  • 471
  • 4
  • 8
  • 18

1 Answers1

1

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.

Wesley
  • 32,320
  • 9
  • 80
  • 116
Hal9000
  • 76
  • 1
  • 5