【问题标题】:apache2 upgrade - migrating the configuration fileapache2升级——迁移配置文件
【发布时间】:2016-03-22 08:49:55
【问题描述】:

我目前正在将我的 apache 从 2.2.22 升级到 2.4,但仍在为配置更改而苦苦挣扎。

我的 apache 2.2 配置:

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy all
</Files>

我的 apache 2.4 配置:

<Files ~ "^\.ht">
    Require all denied
    Satisfy all
</Files>

我不确定我的新 2.4 配置中的 Satisfy all。此配置是否迁移正确?

【问题讨论】:

    标签: apache2 apache2.2 apache2.4


    【解决方案1】:

    由于只有一条规则,所以根本不需要Satisfy all(Apache-2.2 和 Apache-2.4 都不需要)。否则迁移看起来没问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-26
      相关资源
      最近更新 更多