Xampp 将我链接到错误的页面?
当我在URL栏中键入localhost/index.php时,它会将我重定向到以下URL:localhost/xampp/。为什么会发生这种情况,为什么localhost/index.php链接没有将我带到index.php页面?Xampp 将我链接到错误的页面?,xampp,localhost,Xampp,Localhost,当我在URL栏中键入localhost/index.php时,它会将我重定向到以下URL:localhost/xampp/。为什么会发生这种情况,为什么localhost/index.php链接没有将我带到index.php页面?htdocs是XAMPP提供服务的文件夹。如果查看xampp/htdocs/index.php的内容,这是localhost/index.php将解析的内容,您将看到行标题('Location:'.$uri./xampp/),它基本上将浏览器重定向到xampp/htdo
htdocs
是XAMPP提供服务的文件夹。如果查看xampp/htdocs/index.php的内容,这是localhost/index.php
将解析的内容,您将看到行标题('Location:'.$uri./xampp/)
,它基本上将浏览器重定向到xampp/htdocs/xampp
的内容。默认情况下,如果地址中没有指定index.php
文件,它将搜索该文件,因此您将在屏幕截图指向的位置结束
有意义吗?是否要转到配置类型页面?或者它仍然只提供该地址的index.php
内容吗?这是显示的页面: