【问题标题】:Apache: pb with the Include directive => bash: Include: command not foundApache:带有包含指令的 pb => bash:包含:找不到命令
【发布时间】:2014-11-02 06:41:00
【问题描述】:

我正在运行 Debian 7 的服务器上设置我的 Apache Web 服务器 (apache2)。 但是,使用“Include”指令来包含 Apache 的 conf 文件提示我:

$包含/etc/phpmyadmin/apache.conf

“bash:包括:找不到命令”

【问题讨论】:

    标签: apache include debian


    【解决方案1】:

    实际上,而不是输入这一行:

    $Include /etc/phpmyadmin/apache.conf
    

    在我的终端中,我应该在 Apache 的配置文件中添加一行:/etc/apache2/apache2.conf

    这更有意义,因为“include”指令旨在通过仅包含保留在添加的模块中的“分散配置文件”的路径来使主 apache.conf 文件尽可能易于阅读和维护。比如 C 语言中的“include”语句。

    如果你不明白我的意思,看看:/etc/phpmyadmin/apache.conf

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-09-19
      • 2012-11-06
      • 2012-09-17
      • 2018-05-06
      • 2015-04-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多