<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[刘辉的博客]]></title>
  <subtitle type="html"><![CDATA[服务器设置，网络安全，所有和it有关的技术我都贡献出来和大家分享.......]]></subtitle>
  <id>http://www.anywolfs.com/liuhui/</id>
  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.anywolfs.com/liuhui/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.8">PJBlog3</generator> 
  <updated>2008-11-19T12:49:04+08:00</updated>

  <entry>
	  <title type="html"><![CDATA[检测系统mdac 组件是否正常]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=6" label="Software" /> 
	  <updated>2008-11-19T12:49:04+08:00</updated>
	  <published>2008-11-19T12:49:04+08:00</published>
		  <summary type="html"><![CDATA[原理就是检测驱动，odbc 和jet oledb是否正常，同时再检测数据库读操作是否可行，如果这三个操作都没有问题，那么我们说mdac基本上是没有问题的，<br/>代码如下，保存成mdac.vbs，在<a href="http://www.anywolfs.com/liuhui/search.asp?SearchContent=%E5%91%BD%E4%BB%A4%E8%A1%8C&amp;searchType=title" target="_blank">命令行</a>下使用cscript mdac.vbs就可以了<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&#39;自己设置要检测的数据库例子<br/>dbpath = &#34;data.mdb&#34;<br/><br/>Dim Conn <br/>Dim ConnectionString<br/>Set Conn = Cr&#101;ateObject(&#34;ADODB.Connection&#34;) <br/>WScript.Echo &#34;开始进行 ODBC 引擎测试............&#34;<br/>ConnectionStringOdbc = &#34;Driver={Microsoft Access Driver (*.mdb)};DBQ=&#34; &amp; dbpath<br/>WScript.Echo &#34;正在连接数据库............&#34;<br/>Conn.Open ConnectionStringOdbc <br/>If Err.Number &lt;&gt; 0 Then <br/> strodbc = False&nbsp;&nbsp;<br/> WScript.Echo Err.Description<br/>Else <br/> strodbc = True<br/> WScript.Echo &#34;数据库连接成功，ODBC 数据源引擎没有问题。&#34; &amp; vbcrlf &amp; vbcrlf &amp; vbcrlf<br/>End If <br/>Conn.Close<br/><br/><br/>WScript.Echo &#34;开始进行JET OLEDB引擎测试............&#34;<br/>ConnectionStringOledb = &#34;PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=&#34; &amp; dbpath<br/>WScript.Echo &#34;正在连接数据库............&#34;<br/>Conn.Open ConnectionStringOledb <br/>If Err.Number &lt;&gt; 0 Then <br/> stroledb = False&nbsp;&nbsp;<br/> WScript.Echo Err.Description<br/>Else <br/> stroledb = True<br/> WScript.Echo &#34;数据库连接成功，JET OLEDB 数据源引擎没有问题。&#34;&amp; vbcrlf&amp; vbcrlf<br/>End If <br/>Conn.Close<br/>Set Conn = Nothing <br/><br/>Function strsel&#101;ct()<br/>Set Conn = Cr&#101;ateObject(&#34;ADODB.Connection&#34;) <br/>WScript.Echo &#34;测试数据库源读写............&#34;&amp; vbCrLf<br/>Conn.ConnectionString&nbsp;&nbsp;= &#34;PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=&#34; &amp; dbpath<br/>Conn.Open<br/>Set rs = Cr&#101;ateObject(&#34;ADODB.RecordSet&#34;)<br/>&#39;自己设置要查询的数据库表，我这里是ip表<br/>sql = &#34;sel&#101;ct top 1&nbsp;&nbsp;* from ip&#34;<br/>rs.Open sql,Conn,1,1<br/>If Err.Number &lt;&gt; 0 Then&nbsp;&nbsp;<br/> strSel&#101;ct = False&nbsp;&nbsp;<br/> WScript.Echo Err.Description<br/>Else <br/>&#39;自己设置要返回的关键字段名，我的是addj。<br/>&nbsp;&nbsp; If Not rs.EOF Then WScript.Echo &#34;查询数据库返回结果：&#34; &amp; rs(&#34;addj&#34;)<br/> strSel&#101;ct = True<br/> WScript.Echo &#34;数据库源读写操作正常&#34;&amp; vbcrlf&amp; vbcrlf<br/>End If <br/> rs.Close<br/> Conn.Close<br/> Set rs = Nothing<br/> Set Conn = Nothing<br/>End Function <br/> <br/> <br/> If strodbc = True And stroledb = True And strSel&#101;ct Then<br/> WScript.Echo &#34;MDAC测试正常，数据库驱动没有问题&#34;<br/> End If <br/>&nbsp;&nbsp;</div></div><br/>Enjoy it!<br/><br/><br/>相关文档：<br/><br/>服务器:信息160，级别16，状态1 驱动程序无法加载<br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=329" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=329</a><br/><br/>Provider 错误 &#39;80040154&#39;<br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=356" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=356</a> <br/><br/>OLE DB Provider for ODBC Drivers 错误 &#39;80004005&#39; <br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=389" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=389</a><br/><br/>sql server 2000 返回所有行 出现：没有注册类别错误 <br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=282" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=282</a> <br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=398" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=398</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[AspMaxRequestEntityAllowed 修改上传文件大小限制]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=4" label="Security" /> 
	  <updated>2008-11-19T12:19:34+08:00</updated>
	  <published>2008-11-19T12:19:34+08:00</published>
		  <summary type="html"><![CDATA[网上看了很多文件，大部分都使用wmi，我觉得wmi是过时了，还好发现这么一个文章：<br/><a href="http://www.517sou.net/blogview.asp?logID=1053" target="_blank" rel="external">http://www.517sou.net/blogview.asp?logID=1053</a><br/>感觉不错，两种方法，拿来共享下：<br/><br/><strong>WMI</strong><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>Dim objWmi, objGet<br/>objWmi = GetObject(&#34;winmgmts:/root/MicrosoftIISv2&#34;);<br/>objGet = objWmi.get(&#34;IIsWebVirtualDirSetting=&#39;W3SVC/1/ROOT&#39;&#34;);<br/>&#39;输出当前值：&nbsp;&nbsp; <br/>WScript.Echo &#34;输出当前值： &#34; &amp; objGet .AspMaxRequestEntityAllowed&nbsp;&nbsp; <br/>&#39;设置属性：&nbsp;&nbsp; <br/>objGet .AspMaxRequestEntityAllowed=204800000&#39; 将属性更改保存在配置数据库中：&nbsp;&nbsp; <br/>objGet .Put_()&nbsp;&nbsp; <br/>&#39;输出更改后的值&nbsp;&nbsp; <br/>WScript.Echo &#34;输出更改后的值： &#34; &amp; objGet .AspMaxRequestEntityAllowed&nbsp;&nbsp;<br/></div></div><br/><br/><strong>ADSI</strong><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">&#39;*************************************************************************<br/>&#39; 用ADSI设置IIS ASPMaxRequestEntityAllowed值,解析上传超过200K的问题<br/>&#39; 要IIS重启之后，设置才会生效<br/>&#39;*************************************************************************<br/>Dim intASPMaxRequestEntityAllowed, objIIS<br/>intASPMaxRequestEntityAllowed = 20480000&nbsp;&nbsp;&nbsp;&nbsp;&#39;设置为您要的数值<br/>set&nbsp;&nbsp;objIIS = GetObject(&#34;IIS://localhost/W3svc&#34;)<br/>WScript.Echo &#34;输出当前值： &#34; &amp;&nbsp;&nbsp;objIIS.ASPMaxRequestEntityAllowed<br/> objIIS.Put &#34;ASPMaxRequestEntityAllowed&#34;, intASPMaxRequestEntityAllowed<br/>&#39; 或者可以使用下面这个语句，效果一样<br/>&#39; objIIS.ASPMaxRequestEntityAllowed ＝ intASPMaxRequestEntityAllowed<br/> objIIS.SetInfo<br/>WScript.Echo &#34;输出更改后的值 &#34; &amp;&nbsp;&nbsp;objIIS.ASPMaxRequestEntityAllowed<br/></div></div><br/><br/><br/>有人发现wmi的方式在服务器上不了，并得出一个结论，查看原文：<a href="http://www.yongfa365.com/Item/07d1023d635238c4.html" target="_blank" rel="external">http://www.yongfa365.com/Item/07d1023d635238c4.html</a><br/>最后把代码修改成如下：<br/><strong>WMI</strong><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>Dim objWmi, objGet<br/>objWmi = GetObject(&#34;winmgmts:/root/MicrosoftIISv2&#34;);<br/>objGet = objWmi.get(&#34;IIsWebVirtualDirSetting=&#39;W3SVC&#39;&#34;);<br/>&#39;输出当前值：&nbsp;&nbsp; <br/>WScript.Echo &#34;输出当前值： &#34; &amp; objGet .AspMaxRequestEntityAllowed&nbsp;&nbsp; <br/>&#39;设置属性：&nbsp;&nbsp; <br/>objGet .AspMaxRequestEntityAllowed=204800000&#39; 将属性更改保存在配置数据库中：&nbsp;&nbsp; <br/>objGet .Put_()&nbsp;&nbsp; <br/>&#39;输出更改后的值&nbsp;&nbsp; <br/>WScript.Echo &#34;&#39;输出更改后的值 ：&#34; &amp; objGet .AspMaxRequestEntityAllowed&nbsp;&nbsp;<br/></div></div><br/><br/>Help youself!&nbsp;&nbsp;Enjoy it!<br/><br/>相关文档<br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">http://www.anywolfs.com/liuhui/article.asp?id=3 </div></div><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=397" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=397</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[词 《问花无语》]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=8" label="My Log" /> 
	  <updated>2008-10-25T13:30:35+08:00</updated>
	  <published>2008-10-25T13:30:35+08:00</published>
		  <summary type="html"><![CDATA[问花无语<br/><br/><br/>昨日风雨新浴<br/>今日春暖花开<br/>问清风淡云<br/>何处佳音<br/><br/>相思千里寄红豆<br/>枝头黄鹂静又眠<br/>心爱何处生<br/>春风恰似多情<br/>撩拨人心春意深<br/><br/><br/>轻风过处花有絮<br/>片片寄情意含心<br/>问转枝头花顿稀<br/>何意，无语<br/>花香随风去<br/>花似无情<br/>爱似无语]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=395" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=395</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[词  《别》]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=8" label="My Log" /> 
	  <updated>2008-10-25T13:11:48+08:00</updated>
	  <published>2008-10-25T13:11:48+08:00</published>
		  <summary type="html"><![CDATA[高中时写的词，差点都当废纸丢了，今天不小心捡起来一开，还行：<br/><br/>别<br/><br/>空悲切，酩酊人悲相思涸，相思涸，空楼望月，江边柳色<br/>万安桥上金秋节，濉水河畔话伤别，话伤别，轻风破空，虫鱼群咽。]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=394" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=394</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[远程桌面(mstsc) /console(/admin) 的运用经验]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=6" label="Software" /> 
	  <updated>2008-10-23T08:43:49+08:00</updated>
	  <published>2008-10-23T08:43:49+08:00</published>
		  <summary type="html"><![CDATA[前段时间一个博友向我咨询了一个远程桌面的现象，我没有解决，但后来他自己找到了问题所在，我拷贝过来供大家参考，经验分享：<br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">好奇的鱼[2008-09-22 04:37 PM | ]<br/>请教博主，我公司现在的服务器是WIN2003系统的，我现在用mstsc /console方式远程登录服务器，我对使用/console这个参数的理解应该是以控制台方式登录，这样我随便用1台远程电脑登录都应该看到的是一样的界面，可是现在发现会有时不一样，比如说我用A电脑登录服务器，启动了一个内部消息系统的管理界面，如果我在B电脑上登录有时（不全部都这样，没摸清规律）就会看不到这个管理界面，但在任务管理器中可以看到，不知这是怎么回事？</div></div><br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">jothui[2008-09-24 12:50 AM | ]<br/>你这个问题确实非常专业，我的理解是这样的，因为<a href="http://www.anywolfs.com/liuhui/search.asp?SearchContent=windows&amp;searchType=Content" target="_blank">windows</a>2003系统是允许最大两个用户进行远程桌面登录。当我们的服务器上超出最大连接数以后，我们除了重启服务器外，还有一个最好的方法就是使用/console（控制台方式mstsc /console /v:IP:终端端口）进行登录。效果是这样的，当我们加了这个参数以后，会自动的踢掉其中一个用户，并允许你登录。当远程服务器并没有超出最大连接时，它判断服务器本地是否登陆在桌面，如果登录，则锁定本地登录，桌面被console占用，如果没有登录就开启个本地登录一样的窗口。<br/>你说的上面这种情况我目前是否没有明白，我的理解：两个桌面看到同样的一个窗口操作。这种情况只有出现服务器本地登录并运行了窗口，在console才能看见的，或者两个登录中一个被踢被console占用。远程桌面没有console的情况下是一个虚拟桌面，和console有很大的差别，所以看不到远程桌面上的东西才正常，而你说能看到，这我感觉有点奇怪，需要具体情况具体分析才行。</div></div><br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">好奇的鱼[2008-09-25 02:28 PM | ]<br/>谢谢博主耐心的回复，受益匪浅呀 <br/><br/>由于离机房稍远，我一般都是远程登录服务器，不管在哪台客户端上，每次都是用mstsc /console登录，<br/><br/>但肯定没同时登录过（主要是用办公的1台电脑和家里的2台电脑登录），按照博主的文章，我没有本地登<br/><br/>录，这样应该是开启一个与本地登录一样的界面，那么我理解就是我在3台客户端（上面说的）用mstsc <br/><br/>/console登录，都应该看到的是1个界面呀！可以确实发现在先前登录的界面中开启的程序页面（指的是<br/><br/>我们自己做的信息系统的管理页面）在后登录的界面中看不见到，只能在任务管理器中看到，不知是为啥<br/><br/>？<br/><br/>再有昨天早上我没在单位，我们的内部信息系统服务器端异常退出，我们领导自己登录服务器重启程序解决的，她应该使用的是没有参数的mstsc，请问如果我想远程登录看到她看到的界面该如何处理？<br/><br/>我昨天是用mstsc /console登录的(我和领导登录用的用户是1个)，当时没有看到她看到的界面，我在终<br/><br/>端服务管理器中找到那个连接，右键选择“连接”后进入了她看到的页面，等我想离开时，我选择了经常<br/><br/>使用的“开始”-》“关机”-》“断开”，以前我这样退出时，运行的程序还是正常运行，而此次退出导致我们领导开启的信息系统服务器端程序退出了！！！难道是我的步骤不对？</div></div><br/><br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">jothui[2008-10-06 10:55 AM | ]<br/>经过测试：<br/>环境：xp 连 2003 ；2003 连2003（结果相同）<br/>使用 /console 和不使用/console<br/>结论：/console 模式等同于本地终端显示器登录，/console不会去占用非/console远程桌面。远程桌面允许两个正常连接和一个控制台/console方式连接，，并且正常连接和/console连接的桌面操作不能相互看见。<br/>过程：<br/>1.使用2个正常连接远程服务器，再使用一个/console方式连接，一台服务器打开3个远程桌面，并且打开的窗口相互都看不见。<br/>2.当使用/console打开远程桌面以后，自动锁定本地终端连接，本地终端登录以后会自动断开远程/console方式，相互冲突，并且开启的窗口可以相互看得见<br/>3.当已经有一个/console远程连接以后，再使用一个/console方式就会自动断开已经的连接，并占有他的桌面。<br/>4.正常连接和/console连接除了后台服务一样以外，桌面窗口不会有任何相互干扰。<br/><br/>所以你提到的&nbsp;&nbsp;&nbsp;&nbsp;（不全部都这样，没摸清规律），非常抱歉，我也无法解释，，很郁闷，<br/>至于使用正常非/console方式登录的远程桌面开启的窗口，不能注销，注销那么什么都消失了，断开情况下，只有使用正常登录才能看得见，/console不会去影响或者说占用正常远程连接的桌面。</div></div><br/><br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">好奇的鱼[2008-10-14 11:16 AM | ]<br/>博主，我有来了 <br/><br/>mstsc /console的问题我发现是怎么回事了。。我家里的两台电脑的系统是WINXP SP3，已经不支持 /console这个参数了，需要使用mstsc /admin。。。也就是说我在家其实都不是以控制台的方式登录的，由于再单位使用的电脑是win2003所以没这问题<br/><br/>看相关资料，好像WINDOWS2008也是如此。。其实这个问题早就应该发现，因为我输错过mstsc的参数，导致mstsc的帮助页面弹出过，里面有/admin的解释，但没有/console的解释，我还以为就没显示呢。。。<br/><br/>不过奇怪，既然不知 /console这个参数，我在输入时为啥不弹出错误呢。。郁闷</div></div><br/><br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">jothui[2008-10-15 04:57 PM | ]<br/>o,你用的是最新的远程桌面啊，我下了一个安装，确实只有/admin ，/console已经没有了，而且加上这个参数和没加一个样，不报错，，就是普通模式。</div></div><br/><br/><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">mrbing[2008-10-22 01:43 PM | ]<br/>经测试，vista 也不支持 mstsc /console模式，看了一下帮助，是没有/console这个参数的。</div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=393" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=393</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[百度已经开始收录我的博客了]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=8" label="My Log" /> 
	  <updated>2008-10-13T09:52:57+08:00</updated>
	  <published>2008-10-13T09:52:57+08:00</published>
		  <summary type="html"><![CDATA[说来非常郁闷，莫名其妙的被百度毙了，大概持续了一个来月时间，昨天终于又开始收录我的日志，说来是悲剧也是喜剧，我的博客目前流量大部分是500多个独立IP左右，百度和google来的流量大致持平。悲剧就是绝大部分的流量都是搜索过来的，基本上都在90％以上，哪一个搜索出现毛病我的博客都直接受到严重的影响。被百度毙掉以后，流量直接调到200多，有时候像周末甚至都只有100多，简直不可同日而语。<br/><br/>百度昨天总共收入了466篇文章，已经直接给我带来了一天100多的流量了。是喜悦也非常担忧。]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=392" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=392</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[让AWStats识别谷歌浏览器--Chrome]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=6" label="Software" /> 
	  <updated>2008-10-01T22:31:28+08:00</updated>
	  <published>2008-10-01T22:31:28+08:00</published>
		  <summary type="html"><![CDATA[<p>原文：<a href="http://www.sysadminsjourney.com/2008/09/04/reporting-chrome-usage-via-awstats/">http://www.sysadminsjourney.com/2008/09/04/reporting-chrome-usage-via-awstats/</a><br />
我进行了简单的翻译：</p>
<p>先下载一个Chrome浏览器的图标：<br />
&nbsp;</p>
<table cellspacing="0" cellpadding="0" width="100%" align="left" border="1">
    <tbody>
        <tr>
            <td>wget http://www.google.com/tools/dlpage/res/chrome/images/chrome-16.png \-O $AWSTATS_HOME/wwwroot/icon/browser/chrome.png</td>
        </tr>
    </tbody>
</table>
<p><br />
如果是在windows下就直接在浏览器里打开这个图片后另存为就好了，保存在你的统计分析站点下的icon/browser/下，名字取为chrome.png。</p>
<p>&nbsp;</p>
<p>从日志里看到来自Chrome的信息如下：<br />
<table cellspacing="0" cellpadding="0" width="100%" border="1">
    <tbody>
        <tr>
            <td>
            <p>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.A.B.C Safari/525.13</p>
            </td>
        </tr>
    </tbody>
</table>
</p>
<p>&nbsp;所以我们要修改这个 $AWSTATS/wwwroot/cgi-bin/lib/browsers.pm，用text编辑器打开这个文件</p>
<p>一、找到：</p>
<pre>
@BrowsersSearchIDOrder = (
里面的
'safari',
在它之前插入
'chrome',
记住，一定要在'safari',之前插入才有效.</pre>
<p>二、找到<br />
<br />
%BrowsersHashIDLib = (<br />
# Common web browsers text<br />
在后面插入下面这行<br />
'chrome','Chrome',</p>
<p>三、确定浏览器对应的图标，找到<br />
%BrowsersHashIcon = (<br />
# Standard web browsers<br />
在它的后面加入下面这行<br />
'chrome','chrome',<br />
<br />
四、保存文件退出，重新分析一次日志你就可以看到了：<br />
&nbsp;<img alt="" src="http://www.anywolfs.com/liuhui/attachments/month_0810/s2008101222843.png" /></p>
<p><strong><span style="font-size: 26px">相关文档</span></strong><br />
<span style="font-size: 13pt">awstats <a target="_blank" href="http://www.anywolfs.com/liuhui/article.asp?id=180">日志分析</a>模板样例 </span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/html/awstats/anywolfs%20awstats.html">http://www.anywolfs.com/liuhui/html/awstats/anywolfs%20awstats.html</a><br />
<br />
<span style="font-size: 13pt">awstats日志批量统计工具（统计多天日志） </span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=321">http://www.anywolfs.com/liuhui/article.asp?id=321</a><br />
<br />
<span style="font-size: 13pt">awstats 配置模板 参考 </span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=320">http://www.anywolfs.com/liuhui/article.asp?id=320</a><br />
<br />
<span style="font-size: 13pt">awstats 扩展设置 中文参考 </span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/html/awstats/awstats_cn.htm">http://www.anywolfs.com/liuhui/html/awstats/awstats_cn.htm</a><br />
<br />
<span style="font-size: 13pt">访问 awstats 网页提示错误代码：http 403.1 </span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=305">http://www.anywolfs.com/liuhui/article.asp?id=305</a><br />
<br />
<span style="font-size: 13pt">awstats 在 IIS 下最详细的安装说明文档：</span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=180">http://www.anywolfs.com/liuhui/article.asp?id=180</a><br />
<br />
<span style="font-size: 13pt">awstats <a target="_blank" href="http://www.anywolfs.com/liuhui/article.asp?id=180">日志分析</a>工具包的简要中文说明：</span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=242">http://www.anywolfs.com/liuhui/article.asp?id=242</a><br />
<br />
<span style="font-size: 13pt">awstats <a target="_blank" href="http://www.anywolfs.com/liuhui/article.asp?id=180">日志分析</a>工具在多域名（站点）服务器下的应用：</span> <br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=288">http://www.anywolfs.com/liuhui/article.asp?id=288</a><br />
<br />
<span style="font-size: 13pt">AWStats：示来访者位置 QQ纯真库IP解析插件安装：qqhostinfo </span><br />
<a target="_blank" rel="external" href="http://www.anywolfs.com/liuhui/article.asp?id=289">http://www.anywolfs.com/liuhui/article.asp?id=289</a> <br />
<br />
&nbsp;</p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=391" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=391</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[我的博客居然被百度毙了]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=8" label="My Log" /> 
	  <updated>2008-09-17T17:27:05+08:00</updated>
	  <published>2008-09-17T17:27:05+08:00</published>
		  <summary type="html"><![CDATA[奇怪的很，从我换了pj3以后。访问量每天都在下降。今天一看，居然百度搜索过来的为0。原来都和google相差不多。我上百度上搜索了一下，，恐怖居然没有一条记录。莫名其妙的被百度毙了，像我这样的博客完全是靠搜索过来的流量，没有百度了，流量一下减半了。搞不懂。纳闷的很。]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=390" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=390</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[OLE DB Provider for ODBC Drivers 错误 &#39;80004005&#39; ]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=6" label="Software" /> 
	  <updated>2008-09-17T11:32:41+08:00</updated>
	  <published>2008-09-17T11:32:41+08:00</published>
		  <summary type="html"><![CDATA[从新做的系统，发现使用access的用户打开网站的时候报错如下：<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.anywolfs.com/liuhui/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">Microsoft OLE DB Provider for ODBC Drivers 错误 &#39;80004005&#39; <br/><br/>由于系统错误 126 (Microsoft Access Driver (*.mdb))，指定驱动程序无法加载。 <br/><br/>/boyuan/product/conn.asp，行 5 </div></div><br/><br/>最近发现报错类似于<strong>Microsoft OLE DB Provider for ODBC Drivers </strong>的错误的通用方法都是这样处理：<br/>1.准备好系统盘<br/>2.进到C:\WINDOWS\inf ，找到 mdac.inf ，点右键安装，按照提示安装完。<br/>3.重启计算机（其实不重启也可以的，但是未来保险起见）<br/>4.问题解决 <br/>相关文档：<br/><br/>sql server 2000 返回所有行 出现：没有注册类别错误 <br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=282" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=282</a> <br/><br/>服务器:信息160，级别16，状态1 驱动程序无法加载<br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=329" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=329</a><br/><br/>Provider 错误 &#39;80040154&#39;<br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=356" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=356</a><br/><br/>检测系统mdac 组建是否正常<br/><a href="http://www.anywolfs.com/liuhui/article.asp?id=398" target="_blank" rel="external">http://www.anywolfs.com/liuhui/article.asp?id=398</a>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=389" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=389</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[关闭vista(windows 2008)提示框--用户账户控制(UAC)]]></title>
	  <author>
		 <name>jothui</name>
		 <uri>http://www.anywolfs.com/liuhui/</uri>
		 <email>jothui8@yahoo.com.cn</email>
	  </author>
	  <category term="" scheme="http://www.anywolfs.com/liuhui/default.asp?cateID=3" label="Systems" /> 
	  <updated>2008-09-11T10:35:26+08:00</updated>
	  <published>2008-09-11T10:35:26+08:00</published>
		  <summary type="html"><![CDATA[使用过vista(<a href="http://www.anywolfs.com/liuhui/search.asp?SearchContent=windows&amp;searchType=Content" target="_blank">windows</a> 2008)的用户都有一个深刻的体会，无聊的vista总是在你对文件操作或者打开某个程序的时候弹出一个提示框，需要我们去确定，烦。所以这里就说说怎么禁止掉这个对话框：<br/>方法很多种：<br/><br/>1.开始--设置 --控制面板（切换成经典视图） --用户帐户--打开或关闭“用户账户控制”--取消选择 “使用用户控制帮助保护账户您的计算机”这个选项。确定重启系统就好了。<br/><br/>2.同时按下键盘的“Win + R”键，在运行对话框中输入“msconfig”，打开“系统配置”。找到“工具”标签中，选中“禁用UAC”，单击“启动(L)”即可禁用烦人的对话框--用户账户控制功能(UAC)，需要重启系统<br/><br/>3.同时按下键盘的“Win + R”键，在运行对话框中输入“cmd”，或者开始 --程序 --附件--命令提示符，打开dos窗口，在里面输入下面这个命令：<br/>cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f<br/>或者<br/>cmd.exe /k reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f<br/><br/>重启系统<br/><br/>4.同时按下键盘的“Win + R”键，在运行对话框中输入“regedit”，打开注册表：<br/> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System，找到键值 EnableLUA&nbsp;&nbsp;，双击它，打开这个对话框<img src="http://www.anywolfs.com/liuhui/attachments/month_0809/b2008911103218.GIF" border="0" alt=""/>，把<strong>基数</strong>修改成 <strong>十进制</strong> ，将<strong>数值数据</strong>修改成<strong> 0</strong>。重启系统。<br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.anywolfs.com/liuhui/article.asp?id=388" /> 
	  <id>http://www.anywolfs.com/liuhui/default.asp?id=388</id>
  </entry>	
		
</feed>
