10月份的时候把博客迁移到了甲骨文的免费vps上,一直以为是永久免费的,谁知道用了大概一个多月直接被封号了。数据也没了,只剩这个迁移之前9月份备份,果然免费的就是最贵的。
双十一买了腾讯云的特价,接入了腾讯云的备案,重新恢复备份。在windows上装好宝塔后发现没有自带typecho的伪静态规则,网上搜了一下,特记录下iis下typecho的伪静态规则:

 <!--web.config url rewrite-->
 <configuration> 
 <system.webServer>
 <rewrite>
 <rules>
 <rule name="Main Rule" stopProcessing="true">
     <match url="^(.*)$" />
     <conditions logicalGrouping="MatchAll">
         <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
         <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
     </conditions>
     <action type="Rewrite" url="/index.php/{R:1}" />
  </rule>
  </rules>
  </rewrite>
  </system.webServer>
  </configuration>
最后修改:2019 年 11 月 17 日
如果觉得我的文章对你有用,请随意赞赏