简体   繁体   English

我的重写规则不重定向

[英]my rewrite rule doesn't redirect

I added the following to IIS7 我在IIS7中添加了以下内容

在此处输入图片说明

but when I surf to http://localhost:85/toolbar/apps/ 但是当我浏览到http://localhost:85/toolbar/apps/

I get 404 from the server and not redirect. 我从服务器获取404,但未重定向。

i don't know about IIS7 Rewrite Url Module,but you can try this: 我不了解IIS7重写网址模块,但是您可以尝试以下方法:

Pattern: ^toolbar/(.*) 模式: ^toolbar/(.*)

Redirect Url: {R:1} 重定向网址: {R:1}

so, is there any page or service available in that folder? 因此,该文件夹中是否有可用的页面或服务?
if there is nothing you gave that message, 如果您什么都没给,
good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM