luotao
V2EX  ›  Apache

在 apache2.4.20 的 httpd.conf 文件中添加 Order deny,allow, apache 无法启动

  •  
  •   luotao · Jun 1, 2016 · 4888 views
    This topic created in 3817 days ago, the information mentioned may be changed or developed.

    apache 版本 2.4.20 win64 我在 httpd.conf 文件中添加下面语句: <ifmodule dir_module=""> DirectoryIndex index.html Alias /myblog "E:/myblog" <Directory E:/myblog> Order deny,allow Allow from all </directory> </ifmodule> apache 无法启动,但我把“ Order deny,allow “和“ Allow from all “这两句话去掉之后, apache 则可以正常启动,球万能的网友解答一下!!!

    2 replies  •  2016-07-19 12:29:47 +08:00
    alect
    alect
    Jun 2, 2016
    1
    order allow,deny
    deny from all

    我用的这个没问题
    hosiet
    hosiet
    Jul 19, 2016 via Android
    2
    你真的 Google 过这个问题吗?

    https://httpd.apache.org/docs/current/upgrading.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4329 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 08:48 · PVG 16:48 · LAX 00:48 · JFK 03:48
    ♥ Do have faith in what you're doing.