apache模块中如何禁用suexec等模块?
  • virtualmin有好几个功能插件,包括BIND DNS、apache、mysql、proftp、邮件等,在Features and Plugins这项里选择,选了apache,保存,如果出现下面错误提示,那么需要禁用suexec或重新正确安装他:

     

    Suexec is enabled in the default template, but the Apache module mod_suexec is
    not installed or not enabled.

    或者是这样的出错提示:

    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.

    apache模块中如何禁用suexec等模块?看下图:


    在webmin里服务器栏点击apache后,点击第一项 Global configuration全局设置,再选择Configure Apache Modules这一项,取消勾选actions和suexec这两项,再点击最下面enable那个按钮保存

    disable-suexec.png
    disable-suexec-2.png
    disable-suexec-2.png
    php-mod_php.png
    php-mod_php.png

     

     

  •  

  • 点这里复制本页地址发送给您QQ/MSN上的好友
  • 300*300广告