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
请问该怎样解决???
要么是配置文件的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"能想到的就这么多了。