<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[拍拍尘土]]></title> 
    <link>http://blog.xg98.com/</link> 
    <description><![CDATA[五月枇杷黄，太湖银鱼肥]]></description> 
    <language>zh-cn</language> 
    <copyright><![CDATA[Copyright 2026, 拍拍尘土]]></copyright> 
    <webMaster><![CDATA[cxosoft@gmail.com (Admin)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Mon, 04 May 2026 19:33:46 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[老版windows服务器下，用apache做https反向代理怎么简单实现http自动跳转到https]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=3003]]></link> 
      <category><![CDATA[WIN服务器]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Fri, 29 Aug 2025 16:44:52 +0800</pubDate> 
      <description><![CDATA[windows下用aspx，apache实现https反向代理访问windows的http网站。<br />现在的需求是直接访问http，能自动跳转到https。程序中可以判断http来源ip然后跳到Https，但是不是自己的程序就没法操作。<br /><br />分析：要实现跳转，需要判断访问来源，通过apache过来的访问是不能跳转的，而其他访问都要跳转到Https，所以判断IP就可以了。<br /><br />实现：windows下用ISAPI_Rewrite 3.0实现的方法，其他伪静态也可以实现<br /><br /><div class="code">RewriteEngine On<br />RewriteCond %{REMOTE_ADDR} !^(127\.0\.0\.1|8\.8\.8\.8)$<br />RewriteCond %{HTTPS} off<br />RewriteRule ^(.*)$ https&#58;//%{HTTP_HOST}/$1 [R=301,L]</div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=3003]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[联想Thinkbook T13s 重装系统后触控板失灵问题，解决过程]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=3002]]></link> 
      <category><![CDATA[拍拍乱拍]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Thu, 28 Aug 2025 14:51:48 +0800</pubDate> 
      <description><![CDATA[1、重装了小兵的win10 ghost系统<br />2、用自带的驱动大师安装了驱动，发现还有一个黄标驱动  I2C HID 设备<br />3、打开联想官网把T13的驱动全部安装了一遍，特别是Inter Serial IO驱动程序，安装完重启后发现还是黄标，触控失灵。<br />4、设置里面把系统更新到最新，经过多次更新后，发现黄标消失了，触摸板可以使用<br /><br />说明：待机恢复后好像还是会出现黄标，暂时把设备驱动的允许关闭设备 取消了。]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=3002]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[windows下iis在配合使用urlscan的时候，TRACE和OPTIONS直接返回403而不是200和404的方法]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2997]]></link> 
      <category><![CDATA[WIN服务器]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Wed, 30 Apr 2025 14:35:57 +0800</pubDate> 
      <description><![CDATA[p.s. windows下面用urlscan可以方便的拦截 TRACE,OPTIONS,PUT等敏感method，只保留get和post。但是默认情况下回返回200状态再给一个404页面，这不友好，我们需要直接返回一个403状态。<br /><br />一、打开urlscan.ini，指定出现拦截时候的跳转文件 RejectResponseUrl<div class="code">RejectResponseUrl=/403</div><br />然后在根目录建立403目录，下面建立一个网站语言匹配的默认文件 index.php index.aspx 等等，访问就能返回403了<div class="code">&lt;?php<br />header(&quot;HTTP/1.1 403 Forbidden&quot;);<br />exit;<br />?&gt;</div><br /><span style="color:Red">使用curl做TRACE 验证</span><br />-v 或 --verbose：详细模式，显示请求和响应的详细信息，包括请求头、响应头和数据传输过程。<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2997]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[windows下使用winsw-1.18，把nginx和xxfpm，php php-cgi fastcgi 程序安装成服务运行]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2996]]></link> 
      <category><![CDATA[nginx]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Fri, 25 Apr 2025 10:59:56 +0800</pubDate> 
      <description><![CDATA[<b>第一步：nginx的服务配置</b><br />进入nginx文件目录，复制winsw-1.18，改winsw-1.18.exe为nginx-service.exe，<br />当前目录下新建 nginx-service.xml，内容如下：<div class="code">&lt;service&gt;<br />&nbsp;&nbsp; <br />&nbsp;&nbsp; &lt;id&gt;nginx&lt;/id&gt;<br />&nbsp;&nbsp; &lt;name&gt;nginx&lt;/name&gt;<br />&nbsp;&nbsp; &lt;description&gt;nginx&lt;/description&gt;<br />&nbsp;&nbsp; &lt;logpath&gt;D:/nginx1.19.5/logs&lt;/logpath&gt;<br />&nbsp;&nbsp; &lt;logmode&gt;rotate&lt;/logmode&gt;<br /><br />&nbsp;&nbsp; &nbsp; &lt;depend&gt;&lt;/depend&gt;<br />&nbsp;&nbsp; &nbsp; &lt;workingdir&gt;D:/nginx1.19.5&lt;/workingdir&gt;<br />&nbsp;&nbsp; &nbsp; &lt;executable&gt;D:/nginx1.19.5/nginx.exe&lt;/executable&gt;<br />&nbsp;&nbsp; &nbsp; &lt;stopexecutable&gt;D:/nginx1.19.5/nginx.exe -s stop&lt;/stopexecutable&gt;</div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2996]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[一则windows下运行php出现No input file specified 错误处理记录]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2995]]></link> 
      <category><![CDATA[PHP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Fri, 25 Apr 2025 10:48:25 +0800</pubDate> 
      <description><![CDATA[windows服务器为 nginx+fastcgi 的php运行模式，使用winsw-1.18来安装nginx和php fastcgi的，作为服务运行。 <a href="http://blog.xg98.com/article.asp?id=2996" title="http://blog.xg98.com/article.asp?id=2996" target="_blank">http://blog.xg98.com/article.asp?id=2996</a><br />搭建环境出现 <span style="color:Red">No input file specified</span> 目录错误的提示<br /><br />nginx的配置中写为<div class="code">root  H:/web/blog.xg98.com/wwwroot;</div><br />php.ini中为 <div class="code">open_basedir = &quot;h:/web/;C:/WINDOWS/TEMP/;&quot;</div><br />可以看到盘符存在大小写的差异，把nginx.conf的root值改为小写 h:/web/blog.xg98.com/wwwroot; 错误消失]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2995]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[佳能打印机e568的无线打印安装方式]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2960]]></link> 
      <category><![CDATA[局域网]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Tue, 05 Mar 2024 15:45:50 +0800</pubDate> 
      <description><![CDATA[p.s. 总体要求就是将佳能打印机e568和电脑连在同一个无线路由器下面，然后电脑安装e568驱动即可<br /><br />1、开启e568热点，按wifi键，信息灯闪2次后释放wifi键（wifi灯闪烁）<br />2、手机安装app佳能打印，然后连上 e568热点，canon_lj_setup 不需要密码，进去设置佳能的无线路由器<br />3、一体机电脑也连这个无线路由，然后到佳能官方下e568驱动，安装好<br />4、设置打印机里面，扫描安装好打印机e568<br />5、收工]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2960]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[mysql  启动时遇到  The server quit without updating PID file]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2948]]></link> 
      <category><![CDATA[Mysql]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Fri, 17 Nov 2023 14:31:22 +0800</pubDate> 
      <description><![CDATA[有个centos服务器最近总是自动停mysql服务<br />手动启动服务，service mysql start 有时候正常，有时候失败。错误提示如下：<div class="code">Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/ryrt4r3f0678jdZ.pid).</div><br /><br />网上认为是空间满了，查看硬盘空的很.<br />接着查看mysql错误文件，提示启动失败 Innodb_buffer_pool_size 内存分配出问题。<br />这才记起服务器进行过降配，内存减少了。那问题就明白了，将 /etc/my.cnf 中  Innodb_buffer_pool_size 尺寸降低到默认值就可以启动了]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2948]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[关于苹果开发者账号的续期]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2934]]></link> 
      <category><![CDATA[拍拍乱拍]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 26 Jun 2023 14:37:50 +0800</pubDate> 
      <description><![CDATA[1、再pc版可以续期，到期前1个月会有提示，但是需要国际信用卡才能支付。支付完能查询到订单，可以申请发票。<br /><a href="https://developer.apple.com" title="https://developer.apple.com" target="_blank">https://developer.apple.com</a><br />开票：<a href="https://www.apple.com.cn/shop/order/list?hist=90" title="https://www.apple.com.cn/shop/order/list?hist=90" target="_blank">https://www.apple.com.cn/shop/order/list?hist=90</a><br /><br />2、苹果手机上下载Apple Developer，绑定支付宝后可以开发者账号订阅，订阅后会默认自动订阅，需要手工停止。另外就是找不到订单，不能开发票。]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2934]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[关于asp老网站放到windows 2012服务器上遇到的一个上传问题，艾恩ASP无组件上传类(An-Upload v9)]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2921]]></link> 
      <category><![CDATA[ASP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Fri, 03 Mar 2023 13:40:14 +0800</pubDate> 
      <description><![CDATA[朋友有个古董级网站转移到阿里云，windows2012的系统，反馈说上传有问题。<br />网站在win2003下确实正常，在windows2012上无法上传图片。修改了iis中asp的200k限制还不行，就下载代码之后到本地进行调试。<br />测试发现代码是asp，上传部分使用了艾恩ASP无组件上传类(An-Upload v9) <br /><br />代码还用到多文件上传，获取分隔符，然后二进制截取分隔符的方式来分离出多个文件<br />调试发现错误语句<div class="code">fileCls.value =midb(tempdata,formend + 4,valueend - formend - 6)</div>发现里面的 valueend=0，导致第3参数为负数，函数出错。<br />再回溯，<div class="code">valueend = InStrB(formend + 3, tempdata, sSplit)</div>valueend=0表示原始读取的二进制字符串中不包含分隔符，逻辑上是不对的，<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2921]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[apache反向代理增加和修改header，以便于判断https]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2895]]></link> 
      <category><![CDATA[apache]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Sat, 10 Dec 2022 14:57:19 +0800</pubDate> 
      <description><![CDATA[p.s. 因为老服务器用apache加https，然后反向代理iis6上的http，因为http和https都允许访问，所以这个时候就无法判断当前用户访问是http还是https了。在apache的反向代理配置前增加header能实现这个判断。<br /><br />1、配置中  mod_headers  前去掉注释   <br />2、代理配置前增加<div class="code">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; RequestHeader unset HTTPS <br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; RequestHeader append HTTPS &quot;on&quot;</div><br /><br />程序代码中可以使用<b> <span style="color:Red">$_SERVER[&quot;HTTP_HTTPS&quot;]</span> </b>来获取<br /><br /><br /><br />参考：<a href="https://www.php.cn/manual/view/17877.html" title="https://www.php.cn/manual/view/17877.html" target="_blank">https://www.php.cn/manual/view/17877.html</a>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2895]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
