Re免费的虚拟主机是否支持httpd.ini伪静态设置
用的是WINDOWS系统,在其它空间,都是用这个做的伪静态设置.
-------------------------
Re免费的虚拟主机是否支持httpd.ini伪静态设置
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Default.asp" />
<add value="Default.htm" />
<add value="index.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="iisstart.htm" />
<add value="default.aspx" />
</files>
</defaultDocument>
<rewrite>
<rules>
<rule name="rule1" stopProcessing="true">
<match url="^/myself/00([0-9]+).html" />
<action type="Rewrite" url="/myself/blog.asp?id={R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
而我设置 web.config 也起不了作用,是不是免费虚拟机不支持 伪静态?
/myself/006.html 根据指向不了 /myself/blog.asp?id=6