luotao
V2EX  ›  Apache

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

  •  
  •   luotao · Jun 1, 2016 · 4510 views
    This topic created in 3657 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
        1
    alect  
       Jun 2, 2016
    order allow,deny
    deny from all

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

    https://httpd.apache.org/docs/current/upgrading.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2870 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:45 · PVG 17:45 · LAX 02:45 · JFK 05:45
    ♥ Do have faith in what you're doing.