Home > Backend Development > PHP Tutorial > 初学者怎么只输入htdocs上项目路径而不用加下index.php就直接进入网页

初学者怎么只输入htdocs上项目路径而不用加下index.php就直接进入网页

WBOY
Release: 2016-06-13 13:02:15
Original
779 people have browsed it

菜鸟求助:如何只输入htdocs下项目路径而不用加上index.php就直接进入网页
如题,各位大神,我是菜鸟,刚刚学习php。我想直接输入项目路径名,比如:http://localhost/App就能直接进入网站的首页而不是输入http://localhost/App/index.php才能进入网站首页。 如果我输入http://localhost/App会直接进入到App的目录下 求大神指教小弟!

Related labels:
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