我正在尝试初始化Virtualmin。 通过Webmin-> Module->新模块安装界面安装完成后。
这是我在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.
我如何纠正这个错误,让Virtualmin可以开始工作?
如果你告诉你正在使用哪个发行版本会很有帮助。
无论如何,在基于debian的发行版中,您需要编辑/etc/apache2/suexec/www-data文件并添加/homepath。
如果您没有该文件,请确保已apache2-suexec-custom apt软件包。