[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

IIS 7.0 - Rewrite rule to another web site

Posted on 2013-01-25
3
Medium Priority
?
401 Views
Last Modified: 2013-02-01
Hello,
I'm trying to redirect http://mysite.com/blog to http://10.10.10.10.

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 :
        <rewrite>
            <rules>
				<rule name="Blog" enabled="false" stopProcessing="true">
                    <match url="blog/(.*)" />
                    <action type="Rewrite" url="http://10.10.10.10/{R:1}" logRewrittenUrl="true" />
                    <serverVariables>
                        <set name="HTTP_ACCEPT_ENCODING" value="none" />
                    </serverVariables>
                </rule>

Open in new window


any would be very appraciate.
0
Comment
Question by:Sybux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 80

Expert Comment

by:arnold
ID: 38821567
Your blog rule is disabled (enabled=false)

The rule will trigger on any URL that has blog/ in the path.
0
 

Accepted Solution

by:
Sybux earned 0 total points
ID: 38824062
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
ARR
External Cache

some docs can be found here : http://blogs.iis.net/ruslany/archive/2009/04/08/10-url-rewriting-tips-and-tricks.aspx
0
 

Author Closing Comment

by:Sybux
ID: 38843066
founded myself the problem and specified informations for others
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question