Solved

IIS 7 "HTTP redirect" The page isn't redirecting properly

Posted on 2011-09-21
2
2,396 Views
Last Modified: 2012-05-12
  We have Windows 2008 server and we tried to use the HTTPredirect on IIS and we have this error:
 The page isn't redirecting properly when we have for an example a doman:
www.domain.com
and we want each time the user use www.doman.com then redirect automatic to www.domain.com/test
Then on IIS on the web site www.doman.com on features we clicked twice on HTTP Redirect request, then on redirect requests to the destination the empty box we put: http://www.domain.com/test
Then checked redirect all request to exact destination and then 301 permanent
But when we browse www.doman.xom give the errror at the top.
Any suggestion?
Thank you
0
Comment
Question by:coerrace
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 36580988
This is a problem with an infinite redirect. Since you are redirecting www.domain.com to (essentially) www.domain.com, it will keep redirecting until the browser displays this error.

You need to update your rules to account for this and make sure it is only the root level (no subfolders) that redirects.

The other option would be to add a simple ASP page that does a Response.Redirect("/test")
0
 

Author Closing Comment

by:coerrace
ID: 36581146
I solved doing this like you said on an index.asp on VB:
thispage = Request.ServerVariables("SERVER_NAME")
if thispage = "www.domain.com" then response.redirect("http://www.domain.com/test/") end if

Thank you
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now