【问题标题】:Apache a2enmod ssl won't enableApache a2enmod ssl 不会启用
【发布时间】:2015-09-30 19:31:46
【问题描述】:

我尝试输入命令:

sudo a2enmod ssl

然后我得到:

 Considering dependency setenvif for ssl:
    ERROR: Module setenvif not properly enabled: /etc/apache2/mods-enabled/setenvif.load is a real file, not touching it
    ERROR: Could not enable dependency setenvif for ssl, aborting

google 和 bing 都没有结果,这个问题快把我逼疯了。

【问题讨论】:

    标签: apache ssl apache2


    【解决方案1】:

    解决方法:需要删除已有文件setenvif.load,再次执行命令,问题解决。

    需要应用一些需要模块ssl的文件,删除它们。

    【讨论】:

    • 我想指定你必须删除 /etc/apache2/mods-enabled/setenvif.load 而不是 /etc/apach2/mod-available/setenvif.load
    猜你喜欢
    • 1970-01-01
    • 2016-06-14
    • 2021-12-24
    • 2015-10-23
    • 2022-06-23
    • 2015-11-20
    • 2013-07-17
    • 2018-09-22
    • 2016-09-28
    相关资源
    最近更新 更多