发信人: Iwill()
整理人: reynolds(1999-09-19 23:24:04), 站内信件
|
Configure a web site for CGI and ISAPI with execute rights in the "\sc ripts directory(where the CGI and ISAPI are placed) But users cannot r un the ISAPI files. What to do?
A. Execute rights on NTFS(answer)
B. Read permission on NTFS for dir.
C. Read Access on Dir
D. Stop and restart WWW service
You've grouped together all CGI scripts and ISAPI apps into the script s
folder and assign execute rights to the folder. Afterwards, the ISAPI
works and the CGI doesn't.
a Assign read and write rights for the folder as well(answer)
b Assign NTFS execute permission.
c Place CGI and ISAPI files in different directories.
d Stop and start the WWW service
大家一定奇怪,这两道题目看起来很面熟,可是答案不太一样。
第一道题目我是第二次贴出来,以前 ruohui也贴出来过的,现在证实,我和
蛹、好象还有reynolds和easymcse的那些人都是错的,答案的确是 a.
嘻嘻,别急,听我说先。
首先我要问,执行CGI script需要什么条件呢?需要script iis权限和
read的nfts权限。而执行isapi呢?需要execute iis权限和execute的ntfs
权限,现在你明白为什么选a了吧?
第二题呢?,在ntfs 权限里,execute权限覆盖了read 权限,既然可以执行
isapi,那么肯定不会是b,至于ac还是 d,大家自己考虑吧?我看a顺眼些。
还有就是odbc错误,注意题目问 login还是logon,两个答案完全不同。
还有一题问如何查看www浏览细节的题目,流行的题目有2个变种,一种是查看
log file就可以解决问题,一种是查看浏览次数,这个用log file不能解决
问题,而必须使用site server express。希望大家注意区分。
还要强调一个,执行CGI script到底需要什么iis权限呢?如果是用perl写的
script需要execute,一般的就用script就可以了,许多人不了解这些细致
东西会吃大亏的。
btw: 希望吃大亏那个不是我。 :)
-- 如果我是鲨,我愿能在长空翱翔 如果我是鸟,我愿能在海里游泳
※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.96.190.124]
|
|