未找到对象 - XAMPP [英] Object not found - XAMPP

查看:1553
本文介绍了未找到对象 - XAMPP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装XAMPP我的笔记本电脑 - 窗口 - 7 64位。我只是在写HTML一个非常基本的和基本的Hello World的剧本。但是,但是当我试图运行它,它说找不到对象。错误404。

I recently installed XAMPP on my laptop - windows-7 64-bit. I just wrote a very basic and elementary "Hello World" script in HTML. But, however when i'm trying to run it, it says Object Not found. Error 404.

下面是我在做什么:


  1. 写剧本。

  2. 保存它作为XAMPP /阿帕奇/ htdocs中的test.html。

  3. 打开浏览器,键入本地主机/ test.html文件中规定的URL的空间。

在离奇的事情是,我能够运行存储在XAMPP /阿帕奇/ htdocs中index.html文件。而我也能够运行本地主机页面。但是,我要创建任何新的页面,我无法运行它。请帮我解决这个问题。

The bizarre thing is, i am able to run the index.html file stored in xampp/apache/htdocs. And i'm also able to run the localhost page. But any new page that i'm creating, i'm unable to run it. Please help me solve this problem.

感谢您提前:)

推荐答案

看来XAMPP是不是能够找到您的文件。

It seems xampp is not able to locate your file.

检查DocumentRoot的设置在XAMPP \\ apache的\\的conf \\ httpd.conf中找到它当前指向哪个文件夹。

Check DocumentRoot setting in XAMPP\apache\conf\httpd.conf to find currently it is pointing to which folder.

如果你愿意,你可以将它指向其他文件夹一样,

If you want you can point it to some other folder like,

D:/ phpprojects /

D:/phpprojects/

顺便说一句,你确定htdocs目录是XAMPP /阿帕奇/ htdocs中?矿是XAMPP / htdocs中。

By the way, You sure htdocs is in xampp/apache/htdocs ? Mine is in xampp/htdocs.

这篇关于未找到对象 - XAMPP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆