有网友反映mac配置apache的有问题,除了首页全都访问不了,小编找来了相关的解决办法,有需要的朋友可以来了解一下。
httpd.conf配置文件中加载了mod_rewrite.so模块
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项目除了首页全访问不了的详细内容,更多请关注求知技术网其它相关文章!
Hello it’s me, I am also visiting this web site daily, this web
page is in fact fastidious and the visitors are really sharing good thoughts.
Ƭhanks sο muϲh regardіng giving my family an update on this
subject ߋn your web site. Pⅼease bе aware thqt іf а brand-new post becomess ɑvailable or if perhaρs any modifications occur ᧐n the
current publication, I would be іnterested in reading а lot mоre and knowing how to makke ցood utilization off those metghods ʏou talk аbout.
Thanjs fⲟr your tijme and consideration ⲟf people by makіng thiѕ blog
aᴠailable.