why the website only runs .htm

Some one passed me a challege: why the website only runs .htm file, but not .asp?

when launch the website, say, http://database.mygroup.org, it runs the defaul home.asp page with "hello world". The physicial home.asp resides on c:\database; and the IE address bar shows http://database.mygroup.org; not http://database.mygroup.org/home.asp.

However, when I put a line of code to redirect to myfirstpage.asp, or, add a link as My First Page, it shows the 404 file not found error; if I change both attmpts to myfirstpage.htm page, it works

The problem is: why the website only runs with .htm file, but not .asp?

Since I do not know the details of how the IIS had been configured, can any one here give me tips to point out why may be the resons, so that I can save my time to re-configure the IIS 5.0?

Many thanks.

所有跟帖: 

我不懂这个, 但对网页有些兴趣, 于是找了些内容给你 -老靴- 给 老靴 发送悄悄话 (832 bytes) () 04/22/2005 postreply 07:43:13

回复:why the website only runs .htm -紅袖子- 给 紅袖子 发送悄悄话 (133 bytes) () 04/22/2005 postreply 08:07:50

回复:回复:why the website only runs .htm -WhyNot.asp- 给 WhyNot.asp 发送悄悄话 (38 bytes) () 04/22/2005 postreply 08:45:41

must be a path error since -Grant- 给 Grant 发送悄悄话 (10 bytes) () 04/22/2005 postreply 08:49:44

because you dont have -Grant- 给 Grant 发送悄悄话 (122 bytes) () 04/22/2005 postreply 08:49:01

回复:because you dont have -IDoHaveAll- 给 IDoHaveAll 发送悄悄话 (51 bytes) () 04/22/2005 postreply 08:56:17

how about the case? -Grant- 给 Grant 发送悄悄话 (220 bytes) () 04/22/2005 postreply 09:04:32

not case sensitive; open all.. -NotTheCase- 给 NotTheCase 发送悄悄话 (72 bytes) () 04/22/2005 postreply 09:16:49

In terms of security, I meant -Grant- 给 Grant 发送悄悄话 (178 bytes) () 04/23/2005 postreply 13:42:12

请您先登陆,再发跟帖!