xampp安装好了,访问:http://localhost/ 出现如下错误:
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.Error 404localhost
2012-2-24 14:03:38
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
请问该怎样解决???
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.Error 404localhost
2012-2-24 14:03:38
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
请问该怎样解决???
解决方案 »
- 艰难的Linux之路
- ffmpeg php扩展安装问题
- 发现个PHP很奇怪的问题?导致所有网站打不开,求助!
- oelove中的乱码用到php的那些技术
- 从内网下载外网的文件或者将外网的文件上传,不能用ftp,只能用80端口,而且外网的文件不能被外人下载,也就是要实行加密,可以用linux,java,最好是php
- php类的引用问题
- 急!!!可加密64编码解码
- [散分] 如何在Webstorm/Phpstorm中设置连接FTP,并快速进行文件比较,上传下载,同步等操作
- 网站页面显示效果与数据对接
- 微信公众账号接口设置URL时出错
- 谁能开发一套备案查询的程序?
- 求解析百度热榜中实时热词的正则表达式
要么是配置文件的website径不对
要么是访问的文件不存在。
http://localhost/xampp/xampp没用过,不敢知何因。
http://www.dedecms8.com/soft/1503.html
在apache下的httpd.conf中
documentroot配置有问题,是不是默认在C:,而你没安装在C:
现在已经运行起来了哦。(如果你机器上面木有安装IIS tomcat...)
404错误是找不到改页面。
认真配置一下首页哦。
再者,查看端口号有没有被占用。
要么,就是httpd.conf中没有配置正确。
httpd.conf中:
1、#--------------------------添加服务器名称---------------------
ServerName localhost:802、#-------------------------------打开Apache的httpd.conf文件,增加默认首页-----------
<IfModule dir_module>
DirectoryIndex index.html,index.php
</IfModule>3、#------------------加入浏览器识别的php文件类型
AddType application/x-httpd-php .php .html .htm .vcgi .ini4、#------------------------加入php.ini文件的路劲提供apache加载
PHPIniDir "d:/php/php_home"能想到的就这么多了。