使用Plesk作为主机面板在共享主机服务器上的IIS中重写URL
我有一个经典的ASP应用程序,它要求URL重写如下 mysite.com/product.asp?prid=100 一定是这样写的 mysite.com/product/100/使用Plesk作为主机面板在共享主机服务器上的IIS中重写URL,iis,asp-classic,url-redirection,Iis,Asp Classic,Url Redirection,我有一个经典的ASP应用程序,它要求URL重写如下 mysite.com/product.asp?prid=100 一定是这样写的 mysite.com/product/100/ 我不能直接访问服务器,因为我在共享服务器上,这里他们提供Plesk作为主机面板您需要这样设置规则 <rule name="Rewrite to product"> <match url="^product/([_0-9a-z-]+)" /> <action type="Re
我不能直接访问服务器,因为我在共享服务器上,这里他们提供Plesk作为主机面板您需要这样设置规则
<rule name="Rewrite to product">
<match url="^product/([_0-9a-z-]+)" />
<action type="Rewrite" url="/product.asp?&prid={R:1}" />
</rule>
在哪个文件上?web.config??