mac系统下php项目除了首页全访问不了是什么原因-创新互联

有网友反映mac配置apache的有问题,除了首页全都访问不了,小编找来了相关的解决办法,有需要的朋友可以来了解一下。

10年积累的成都网站设计、做网站经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先制作网站后付款的网站建设流程,更有简阳免费网站建设让你可以放心的选择与我们合作。
  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项目除了首页全访问不了的详细内容,更多请关注创新互联其它相关文章!

本文标题:mac系统下php项目除了首页全访问不了是什么原因-创新互联
文章地址:https://www.cdcxhl.com/article34/edese.html

成都网站建设公司_创新互联,为您提供做网站网站建设App开发静态网站品牌网站建设响应式网站

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都网页设计公司