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
IV. Configure/Install IIS in your PC
所有跟帖:
• 謝謝分享,我設置成功了 -出入自在- ♂ (246 bytes) () 02/21/2010 postreply 04:46:28