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

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

内容导读

收集整理的这篇技术教程文章主要介绍了mac系统下php项目除了首页全访问不了,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1208字,纯文字阅读大概需要2分钟

内容图文

有网友反映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项目除了首页全访问不了的详细内容,更多请关注Gxl网其它相关文章!

内容总结

以上是为您收集整理的mac系统下php项目除了首页全访问不了全部内容,希望文章能够帮你解决mac系统下php项目除了首页全访问不了所遇到的程序开发问题。 如果觉得技术教程内容还不错,欢迎将网站推荐给程序员好友。

内容备注

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。


本文关键词:

联系我们

在线咨询:点击这里给我发消息

邮件:w420220301@qq.com