IV. Configure/Install IIS in your PC

来源: st.paul 2010-02-08 16:37:28 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1446 bytes)
IV. Configure/Install IIS in your PC

Your PC/Server needs to run IIS (Internet Information Services) to listen to the http requests and send http responses. The folowing steps are based on Win XP pro.

1) Launch Control Panel, select Add or Remove Programs. Click Add/Remove Windows Components.

2) Check IIS and Click Details button. Uncheck SMTP Service, FTP service unless you need them.

3) Click Ok, Next to install necessary components. You may need OS disk or I386 folder if prompted.

4) Right-click on My Computer and select Manager. Expand Internet Information Services, Web Site and Default Web Site.

5) Right click Default Web Site and select Start if not stared yet.

6) The default web site, by default points to c:/inetpub/wwwroot (Change / to forward slash)
. Copy/paste a html file, such as Index.htm or a JPEG file, such as Mypgoto.jpg to c:/inetpub/wwwroot for testing purpose.

7) If everything is correct, you should be able to browse to the above files in IE:

http://your_external_IP_address/index.html
http://your_external_IP_address/myphoto.jpg

You can simply add folder under wwwroot for non-active pages. If you have asp.net/asp/jsp applications, you need to add virtual directory in order to run these applications. To browse to the application, add the virtial directory, such as:

http://your_external_IP_address/myphotoweb/Default.aspx

所有跟帖: 

谢谢分享,我设置成功了 -出入自在- 给 出入自在 发送悄悄话 出入自在 的博客首页 (246 bytes) () 02/21/2010 postreply 04:46:28

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”