web技术概论复习资料.docx

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
web fundamentals by hzqqzhA user input / in the Address blank and hit the enter. Explain in details about the interactions between the Browser and other servers.1 浏览器通过URL(统一资源定位符,Uniform / Universal Resource Locator)访问DNS(domain name service),DNS 返回一个IP地址。2 浏览器用IP地址建立TCP/IP链接3 浏览器通过TCP/ip链接给服务器发送一个HTTP请求4依据这个请求,服务器找到合适的文件,生成一个MIME(Multipurpose Internet Mail Extensions 多功能Internet 邮件扩充服务)格式的HTTP响应,并将响应传回浏览器,随后关闭链接。5 依据HTTP响应的开头信息,浏览器显示收到的文件注意每一个图片浏览器需要建立一个TCP连接,传送,并关闭链接。9/wst/webtech/unit2/internet.gifCarefully review the steps taken to install and configure an Apache on the course server. Be able to explain the slight difference between the ASCII mode and BINARY mode of FTP protocol.安装步骤:1 解压缩:tar -xzf 文件名2 configure: ./configure --prefix=路径3make4 make install5修改端口:httpd。conf 的listen XX6//apache/bin/apacheclt startCarefully review the steps taken to install and configure an Apache on the course server. Be able to explain the slight difference between the ASCII mode and BINARY mode of FTP protocol.ftp是应用层协议,和具体操作系统无关,ASCII 模式和BINARY模式的区别是回车换行的处理,binary模式不对数据进行任何处理,asci模式将回车换行转换为本机的回车字符,比如Unix下是\n,Windows下是\r\n,Mac下是\rascii模式下会转换文件,不能说是不同系统对回车换行解释不同,而是不同的系统有不同的行结束符(1)unix系统下行结束符是一个字节,即十六进制的0A(2)而ms的系统是两个字节,即十六进制的0D0A所以当你用ascii方式从unix的ftp server下载文件时(不管是二进制或者文本文件),每检测到一个字节是0A,就会自动插入一个0D,所以如果你的文件是二进制文件比如可执行文件、压缩包什么的,就肯定不能用了。如果你的文件就是unix下的文本文件,你用 ascii模式是正确的,要是误用了binary模式, 你在windows上看这个文件是没有换行的,里面是一个个的黑方块。因此(1)用HTML 和文本编写的文件必须用ASCII模式上传,用BINARY模式上传会破坏文件,导致文件执行出错(2)BINARY模式用来传送可执行文件,压缩文件,和图片文件Explain the following queries enclosed in brackets that are inputed to Google:Google搜索常识 逻辑为and(1) cache: The query [cache:] will show the version of the web page that Google has in its cache. (2) link: The query [link:] will list webpages that have links to the specified webpage. (3) related: The query [related:] will list web pages that are similar to a specified web page. (4) info: The query [info:] will present some information that Google has about that web page. (5) define: Th

文档评论(0)

ruojiu158 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档