教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 mac系统下php项目除了首页全访问不了

mac系统下php项目除了首页全访问不了

发布时间:2021-01-06   编辑:jiaochengji.com
教程集为您提供mac系统下php项目除了首页全访问不了等资源,欢迎您收藏本站,我们将为您提供最新的mac系统下php项目除了首页全访问不了资源
有网友反映mac配置apache的有问题,除了首页全都访问不了,小编找来了相关的解决办法,有需要的朋友可以来了解一下。

  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>

【推荐教程:php编程从入门到精通全套视频教程】

以上就是mac系统下php项目除了首页全访问不了的详细内容,更多请关注教程集其它相关文章!

  • 本文转载于:博客园,如有侵犯,请联系jquerycn@qq.com删除
  • 您可能感兴趣的文章:
    mac系统下php项目除了首页全访问不了
    mac无法识别移动ntfs磁盘原因与解决办法
    解决支付宝安全控件安装后还提示安装办法
    使用ARP排除网络故障
    解决Mac安装Win7报错AppleSSD.sys问题
    php开发用windows还是mac
    php开发环境是什么
    php用什么软件编程
    苹果mac电脑更新导致无法有线上网解决办法
    PHP新手入门你需要了解些什么?

    [关闭]
    ~ ~