我用的是2.4.9版本的,站点进不了不知道是哪里出了问题。

#

<Directory />

    AllowOverride none

    Require all denied

</Directory>



#

# Note that from this point forward you must specifically allow


# particular features to be enabled - so if something's not working as


# you might expect, make sure that you have specifically enabled it


# below.


#


<Directory "D:/Rhythm">


    #

    # Possible values for the Options directive are "None", "All",


    # or any combination of:

 

   #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

 

   #

  

  # Note that "MultiViews" must be named *explicitly* --- "Options All"

  

  # doesn't give it to you.

   

 #

 

   # The Options directive is both complicated and important.  Please see

  

  # http://httpd.apache.org/docs/2.4/mod/core.html

#options

   

 # for more information.

   

 #

    Options Indexes FollowSymLinks


   

 #

    # AllowOverride controls what directives may be placed in .htaccess files.

    

# It can be "All", "None", or any combination of the keywords:

   

 #   AllowOverride FileInfo AuthConfig Limit

   

 #

    AllowOverride all


  

Require all granted  

#

    # Controls who can get stuff from this server.

   

 #


#   onlineoffline tag - don't remove

    

Require local  

</Directory>


SpaceX2015
浏览 1171回答 1
1回答

feiyanger

你问的是Apache吧,我就按照Apache的来了。。。,如果是windows系统的话,你直接打开我的电脑-管理-服务,找到Apache服务,看看是否启动了。如果启动失败,就检测端口是否给占用,就是配置文件里面listen的端口,要是不行就换一个listen。
打开App,查看更多内容
随时随地看视频慕课网APP