<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hostmonster美国主机导航 &#187; 原始访问日志</title>
	<atom:link href="https://hostmonster.ac.cn/tag/%e5%8e%9f%e5%a7%8b%e8%ae%bf%e9%97%ae%e6%97%a5%e5%bf%97/feed/" rel="self" type="application/rss+xml" />
	<link>https://hostmonster.ac.cn</link>
	<description>最新的Hostmonster主机资讯,最详细的Hostmonster主机教程及Hostmonster优惠码/优惠链接</description>
	<lastBuildDate>Wed, 11 Nov 2015 06:52:23 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>HostMonster主机原始访问日志的分析说明</title>
		<link>https://hostmonster.ac.cn/hostmonster-rizhi/</link>
		<comments>https://hostmonster.ac.cn/hostmonster-rizhi/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 07:25:50 +0000</pubDate>
		<dc:creator><![CDATA[user1]]></dc:creator>
				<category><![CDATA[HostMonster使用说明]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Hostmonster]]></category>
		<category><![CDATA[hostmonster主机]]></category>
		<category><![CDATA[原始访问日志]]></category>

		<guid isPermaLink="false">http://hostmonster.ac.cn/?p=238</guid>
		<description><![CDATA[HostMonster主机后台提供原始访问日志功能，用户可以通过查看原始访问日志来分析自己的站点，了解一些网站访客访问网站的一些情况的，从而快速的处理一些会给网站自身带来的不安全问题。下面就来看一下如何查看和分析原始访问日志。 首先，登录cPanel面板，在log日志功能块选中Raw Access Log，如下图： 然后，点击进入选择你想要查看的网站域名，点击就可以将访问日志下载到本地，如下图： 最后就可以对日志进行分析了，打开下载后的访问日志文件，如下图： 针对上图的日志，简单的分析一下： 69.195.126.103：这个是访客、也可能是机器人的IP。 [17/Mar/2012:06:53:02 -0600]：访客访问该资源的时间，0600是该时间对应的时区，即与格林威治时间相差-6个小时。 GET /~xxxx.html/ HTTP/1.0：请求信息，包括请求方式、所请求的资源以及所使用的协议，该语句的意思就是以GET方式，按照HTTP/1.0协议获取网页/xxxx.htm，xxxx.htm为网站上的某个网页。 200 263：200为请求返回的状态码（Http Code），不同的状态码代表不同意思，263代表本次请求所消耗的流量，（Size in Bytes），单位为byte。 “-”：为访客来源（Referer）。这一段是告诉我们访客是从哪里来到这一个网页。有可能是你的网站其他页，有可能是来自搜索引擎的搜索页等。通过这条来源信息，你可以揪出盗链者的网页。 Mozilla/5.0 (Windows NT 5.1)：为访客所使用的浏览器类型（Agent），这里记录了用户使用的操作系统、浏览器型号等。 通过原始访问日志可以清楚了解自己网站的一些信息。]]></description>
				<content:encoded><![CDATA[<p><a title="hostMonster官网" href="http://r2url.com/www.hostmonster.com" target="_blank">HostMonster</a>主机后台提供原始访问日志功能，用户可以通过查看原始访问日志来分析自己的站点，了解一些网站访客访问网站的一些情况的，从而快速的处理一些会给网站自身带来的不安全问题。下面就来看一下如何查看和分析原始访问日志。</p>
<p>首先，登录cPanel面板，在log日志功能块选中Raw Access Log，如下图：</p>
<p><a href="http://hostmonster.ac.cn/wp-content/uploads/2013/03/hostmonster.png"><img class="alignnone size-medium wp-image-239" alt="hostmonster主机后台管理面板" src="http://hostmonster.ac.cn/wp-content/uploads/2013/03/hostmonster-300x86.png" width="300" height="86" /></a></p>
<p><span id="more-238"></span>然后，点击进入选择你想要查看的网站域名，点击就可以将访问日志下载到本地，如下图：</p>
<p><a href="http://hostmonster.ac.cn/wp-content/uploads/2013/03/xiazairizhi.png"><img class="alignnone size-medium wp-image-240" alt="日志下载" src="http://hostmonster.ac.cn/wp-content/uploads/2013/03/xiazairizhi-300x159.png" width="300" height="159" /></a></p>
<p>最后就可以对日志进行分析了，打开下载后的访问日志文件，如下图：</p>
<p><a href="http://hostmonster.ac.cn/wp-content/uploads/2013/03/fenxirizhi.png"><img class="alignnone size-medium wp-image-241" alt="日志分析" src="http://hostmonster.ac.cn/wp-content/uploads/2013/03/fenxirizhi-300x145.png" width="300" height="145" /></a></p>
<p>针对上图的日志，简单的分析一下：<br />
69.195.126.103：这个是访客、也可能是机器人的IP。<br />
[17/Mar/2012:06:53:02 -0600]：访客访问该资源的时间，0600是该时间对应的时区，即与格林威治时间相差-6个小时。<br />
GET /~xxxx.html/ HTTP/1.0：请求信息，包括请求方式、所请求的资源以及所使用的协议，该语句的意思就是以GET方式，按照HTTP/1.0协议获取网页/xxxx.htm，xxxx.htm为网站上的某个网页。<br />
200 263：200为请求返回的状态码（Http Code），不同的状态码代表不同意思，263代表本次请求所消耗的流量，（Size in Bytes），单位为byte。<br />
“-”：为访客来源（Referer）。这一段是告诉我们访客是从哪里来到这一个网页。有可能是你的网站其他页，有可能是来自搜索引擎的搜索页等。通过这条来源信息，你可以揪出盗链者的网页。<br />
Mozilla/5.0 (Windows NT 5.1)：为访客所使用的浏览器类型（Agent），这里记录了用户使用的操作系统、浏览器型号等。</p>
<p>通过原始访问日志可以清楚了解自己网站的一些信息。</p>
]]></content:encoded>
			<wfw:commentRss>https://hostmonster.ac.cn/hostmonster-rizhi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->