Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

请教一个本机环境搭建的问题

[复制链接]
evilsoul 发表于 2008-1-21 13:00:35 | 显示全部楼层 |阅读模式
一年前搭建的本机环境 大概配置 Windows XP + IIS5.1 + Mysql5.024a + PHP 5.20 + Zend3.2.4 +phpadmin 2.8.2.4

IE7.0 下测试:

http://localhost/ 可以正常打开并转入 http://localhost/localstart.asp

http://本机IP 可以正常打开并转入 http://本机IP/localstart.asp

http://127.0.0.1/ 无法打开 错误信息

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
For more information about HTTP errors, see Help.


http://计算机名(英文的) 无法打开 错误信息

Bad Gateway
The following error occurred:
[code=DNS_HOST_NOT_FOUND] The host name was not found during the DNS lookup. Contact your system administrator if the problem is not found by retrying the URL.
--------------------------------------------------------------------------------
Please contact the administrator.



FireFox 2.0 下测试

http://localhost/
http://127.0.0.1/
http://计算机名/
http://本机IP/

三个都可以正常打开 并转到 相应 http://***/localstart.asp 页面

另外C:\WINDOWS\system32\drivers\etc 下 hosts 文件已经添加 127.0.0.1 localhost 字段
Ping 127.0.0.1 和 localhost 都能连接

请高人分析一下原因,谢谢!

我现在有点糊涂了,因为我理解 http://localhost/ = http://127.0.0.1/ = http://计算机名/ 为什么在IE下不好用?跟注册表有关系吗?
回复

使用道具 举报

it1988.com 发表于 2008-1-21 13:06:46 | 显示全部楼层
有很多问题都是操作系统的设置问题,建议你装新标准版2003系统,在系统默认情况下按照教程搭建环境.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-11-22 17:43 , Processed in 0.128878 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表