1 / 21

7.4 IIS 服务器

7.4 IIS 服务器. 7.4.1 IIS 服务器的配置和使用. 1、安装 操作系统: Windows NT/2000/XP 服务器版自动安装 专业版:开始/控制面板/“添加/删除程序” 选择“添加/删除 Windows 组件” 选择“ Internet 信息服务( IIS)” (如图). 2、管理 IIS 服务器 打开控制面板 打开“管理工具” 打开“ Internet 服务器管理” 展开本地计算机 单击“默认 Web 站点”可以打开如图所示窗口. 用鼠标单击“默认 Web 站点”,按下鼠标右键,弹出如图所示的菜单:. 选择“属性”弹出如图所示站点属性窗口

Download Presentation

7.4 IIS 服务器

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 7.4 IIS服务器

  2. 7.4.1 IIS服务器的配置和使用 • 1、安装 • 操作系统:WindowsNT/2000/XP • 服务器版自动安装 • 专业版:开始/控制面板/“添加/删除程序” • 选择“添加/删除Windows组件” • 选择“Internet信息服务(IIS)”(如图)

  3. 2、管理IIS服务器 • 打开控制面板 • 打开“管理工具”打开“Internet服务器管理” • 展开本地计算机 • 单击“默认Web站点”可以打开如图所示窗口

  4. 用鼠标单击“默认Web站点”,按下鼠标右键,弹出如图所示的菜单:用鼠标单击“默认Web站点”,按下鼠标右键,弹出如图所示的菜单:

  5. 选择“属性”弹出如图所示站点属性窗口 • 在其中可以更改该站点的IP地址、端口等参数

  6. 3、IIS的日志文件 • 我的电脑--Winnt目录--System32目录--Logfiles--W3SVC1目录 • 找到类似ex020510.log格式的文件 • 打开后如图所示

  7. 7.5 服务器日志文件的分析

  8. 7.5.1 日志文件概述 • 日志文件的格式 • Microsoft IIS Log Format( IIS 日志文件格式); • National Center for Supercomputing Applications (NCSA) Common LogFile Format( NCSA通用日志文件格式); • World Wide Web Consortium (W3C) Extended Log File Format( W3C扩展日志文件格式); • ODBC Logging.

  9. NCSA通用日志文件格式 • 202.192.36.116 - - [15/Apr/2004:11:02:05 +0800] "GET /manual/style/css/manual-loose-100pc.css HTTP/1.1" 200 3036

  10. W3C扩展日志文件格式 date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer) 2004-04-29 00:00:39 218.90.160.98 - W3SVC168 252-229 61.151.252.229 80 GET /imagesnew/nav1r.gif - 200 0 401 254 0 HTTP/1.1 www.chengzhi.net Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) - http://www.chengzhi.net/

  11. 7.5.2 HTTP协议状态码 • "100" : Continue "101" : witching Protocols "200" : OK "201" : Created "202" : Accepted "203" : Non-Authoritative Information "204" : No Content "205" : Reset Content "206" : Partial Content

  12. "300" : Multiple Choices "301" : Moved Permanently "302" : Found "303" : See Other "304" : Not Modified "305" : Use Proxy "307" : Temporary Redirect

  13. "400" : Bad Request "401" : Unauthorized "402" : Payment Required "403" : Forbidden "404" : Not Found "405" : Method Not Allowed "406" : Not Acceptable "407" : Proxy Authentication Required "408" : Request Time-out "409" : Conflict "410" : Gone "411" : Length Required "412" : Precondition Failed "413" : Request Entity Too Large "414" : Request-URI Too Large "415" : Unsupported Media Type "416" : Requested range not satisfiable "417" : Expectation Failed

  14. "500" : Internal Server Error "501" : Not Implemented "502" : Bad Gateway "503" : Service Unavailable "504" : Gateway Time-out "505" : HTTP Version not supported

  15. 7.5.3日志文件分析工具 • NiHuo

More Related