Home > Backend Development > PHP Tutorial > php-PHP环境下访问http://localhost出现403 Forbidden

php-PHP环境下访问http://localhost出现403 Forbidden

WBOY
Release: 2016-06-02 11:33:16
Original
2301 people have browsed it

php

我自己搭建了一个php运行环境,在Apache的htdocs目录里有index.html和test.php两个文件。当我在浏览器中输入http://localhost回车,浏览器打开了index.html文件。当我把index.html文件名改成index11.html后再在浏览器中输入http://localhost回车,屏幕出现403 Forbidden You don't have permission to access / on this server.按照常理应该显示
index11.html和test.php两个文件的超链接,点击它会打开相应的页面。现在变成这种情况是什么原因?请大侠赐教。谢谢!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template