kechx
V2EX  ›  Apache

刚刚发现 Apache 配置的一个坑,不知道各位遇到过没有?

  •  
  •   kechx · May 8, 2015 · 3073 views
    This topic created in 4202 days ago, the information mentioned may be changed or developed.

    对于apache2.2和apache2.4,部分的配置其实是不同的,比如访问权限

    2.2的配置:

    Order allow,deny
    Allow from all
    

    2.4的配置

    Require all granted
    

    更多不同请看Upgrading to 2.4 from 2.2

    3 replies  •  2015-05-08 16:23:15 +08:00
    holystrike
    holystrike
    May 8, 2015
    1
    我记得第一种在2.4里是兼容的
    kungfuchicken
    kungfuchicken
    May 8, 2015
    2
    这个可以说是用 Apache 2.4 必踩的第一个坑了
    kechx
    kechx
    OP
    May 8, 2015
    3
    @holystrike 我用的2.2的那个配置服务器启动不了,难道是要改其他配置才能兼容?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1890 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:38 · PVG 08:38 · LAX 16:38 · JFK 19:38
    ♥ Do have faith in what you're doing.