• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 404
  • Last Modified:

IIS 7.0 - Rewrite rule to another web site

I'm trying to redirect http://mysite.com/blog to

I'm trying to make it run but I got time to time depending how I change my configuration : 404, 403.12 error.

It seems for me that the IIS do not transform my request.

Here is my rule :
				<rule name="Blog" enabled="false" stopProcessing="true">
                    <match url="blog/(.*)" />
                    <action type="Rewrite" url="{R:1}" logRewrittenUrl="true" />
                        <set name="HTTP_ACCEPT_ENCODING" value="none" />

Open in new window

any would be very appraciate.
  • 2
1 Solution
Your blog rule is disabled (enabled=false)

The rule will trigger on any URL that has blog/ in the path.
SybuxAuthor Commented:
the problem was not the false / true (I've copied the wrong state :) )

But finally I've found the problem. To get rewrite rule working with "http redirect" you need to install the following extensions :
URL rewrite
Web Farm Framework
External Cache

some docs can be found here : http://blogs.iis.net/ruslany/archive/2009/04/08/10-url-rewriting-tips-and-tricks.aspx
SybuxAuthor Commented:
founded myself the problem and specified informations for others
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now