Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 是否在此基础上创建URL重写规则?_C#_Asp.net_Wcf_Iis_Url Rewriting - Fatal编程技术网

C# 是否在此基础上创建URL重写规则?

C# 是否在此基础上创建URL重写规则?,c#,asp.net,wcf,iis,url-rewriting,C#,Asp.net,Wcf,Iis,Url Rewriting,如何在IIS上创建URL重写规则,将URL从原始URL更改为最终URL 原始URL:[http://localhost:3030/POSMobileREST/POSService.svc/POSMobileREST/] 最终URL:[http://localhost:3030/POSMobileREST/] 我在win8和VS2012上测试了IIS6.2,但仍然不起作用 示例: 模式:^POSMobileREST/(.*)$ 动作类型:重写 重写URL:POSService.svc/{R:1}再

如何在IIS上创建URL重写规则,将URL从原始URL更改为最终URL

原始URL:[http://localhost:3030/POSMobileREST/POSService.svc/POSMobileREST/]

最终URL:[http://localhost:3030/POSMobileREST/]

我在win8和VS2012上测试了IIS6.2,但仍然不起作用

示例:
模式:^POSMobileREST/(.*)$
动作类型:重写

重写URL:POSService.svc/{R:1}

再次查看顶部的示例。