mac php项目除了首页全飘not found

Posted MoonyHee

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mac php项目除了首页全飘not found相关的知识,希望对你有一定的参考价值。

1.httpd.conf配置文件中加载了mod_rewrite.so模块
2.AllowOverride None 将None改为 All

DocumentRoot "/Library/WebServer/Documents"
<Directory "/Library/WebServer/Documents">
    #
    # 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 FollowSymLinks Multiviews
    MultiviewsMatch Any
  #
    # 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 None
     AllowOverride All         #这里这里!!!
     Order deny,allow
     Allow from all
    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

 

以上是关于mac php项目除了首页全飘not found的主要内容,如果未能解决你的问题,请参考以下文章

Nginx服务器除了/目录,全飘404

c3p0报错:java.io.FileNotFoundException: Resource not found at path '/mchange-log.properties'(代

@RestController 返回 404 not found 除了在主类中

遇到问题--java--mac版本的idea在控制台中使用mvn命令not found

遇到问题--java--mac版本的idea在控制台中使用mvn命令not found

遇到问题--java--mac版本的idea在控制台中使用mvn命令not found