XAMPP 对象未找到错误 [英] XAMPP Object not found error
问题描述
我刚刚在我的机器上安装了 XAMPP,当尝试访问 htdocs 中的子文件夹时,我收到以下错误.
I have just installed XAMPP on my machine, and when trying to access sub folders in htdocs I get the following error.
找不到对象!在此服务器上找不到请求的 URL.如果您手动输入了 URL,请检查您的拼写并重试.
Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
如果您认为这是服务器错误,请联系网站管理员.
If you think this is a server error, please contact the webmaster.
错误 404
本地主机
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19"
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19"
为了访问 htdocs 的子文件夹,我需要进行哪些默认安全更改?谢谢!
What default security changes do I need to make in order to access child folders of htdocs? Thanks!
推荐答案
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
您遇到了问题,因为您的 htdocs 目录中确实不存在该对象.您不必在 localhost 或 127.0.0.1 之后附加 xampp
,因为 xampp
会将其视为 htdocs 下的对象或文件夹.
You're having problem because the object really doesn't exist in your htdocs directory.
You don't have to append xampp
after localhost or 127.0.0.1 because xampp
will treat it as an object or a folder under htdocs.
如果您想访问您的博客,请确保您在 htdocs 下有一个 blog 文件夹并输入您的 URL localhost/blog
if you want to access your blog, make sure you have a blog folder under htdocs and put in your URL localhost/blog
这篇关于XAMPP 对象未找到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!