[提问]
win主机设置web.config 静态 出现404
|
|
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="RewriteRule1">
<match url="^html/([^./]*)[/|]$" />
<action type="Rewrite" url="/?f={R:1}" />
</rule>
<rule name="RewriteRule2">
<match url="^html/([^./]*)/([0-9]+).html" />
<action type="Rewrite" url="/?f={R:1}&c={R:2}" />
</rule>
<rule name="RewriteRule3">
<match url="^html/([^./]*)/(view)_([0-9]+).html" />
<action type="Rewrite" url="/?f={R:1}&a={R:2}&r={R:3}" />
</rule>
<rule name="RewriteRule4">
<match url="^html/([^./]*)/(view)_([0-9]+)_([0-9]+).html" />
<action type="Rewrite" url="/?f={R:1}&a={R:2}&c={R:3}&r={R:4}" />
</rule>
<rule name="RewriteRule5">
<match url="^html/([^./]*)/(send)_([0-9]+).html" />
<action type="Rewrite" url="/?f={R:1}&a={R:2}&r={R:3}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
这样对吗。大家帮我看下。谢谢 |
|
|
|
|
|
|
|
|
|
|
wakoo
发表于 2011-2-9 11:50:42
|
显示全部楼层
http://kaiye-china.com/html/Products/
就是这样。
http://www.kaiye-china.com/ |
|
|
|
|
|
|
|
|
|
|
wakoo
发表于 2011-2-10 15:44:38
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-2-10 16:07:41
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
wakoo
发表于 2011-2-13 09:16:45
|
显示全部楼层
|
|
|
|
|
|
|
|