共 2 篇文章 |
|
第一种:直接修改apache服务器的配置文件./conf/httpd.conf中的DirectoryIndex,如:(项目web以index.php为首页)第二种:apache服务器的配置文件./conf/httpd.conf中DirectoryIndex默认不变为index.html,此时需要当前项目下增加一个index.html文件,文件的内容如下编辑:(项目web以index.php为首页)第二种:不修改apache服务器的默认配置... 阅1136 转2 评0 公众公开 16-01-20 18:03 |
解决问题 “You don''t have permission to access /index.html on this server.”原因:index.html是用root用户建的文件,apache权限不够。打开apache配置文件httpd.conf,找到这么一段:<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow deny from all Satisfy all</Directo... 阅2644 转3 评0 公众公开 16-01-20 15:50 |