Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, January 6, 2012 6:20 AM
hi all
in IIS 7.5 , in HTTP redirection section , in redirect behavior section , there is two options called :
1- redirect all requests to the exact destination
2- only redirect requests to content in this directory ( not subdirectories )
i really don't underestand what these 2 options do . the help of the page also is confusing.
i will be exponentially greatfull to someone give me some simple examples on both option
thanks in advance
All replies (2)
Wednesday, January 11, 2012 5:15 AM ✅Answered
Hi,
According to the problem description, this issue is related to IIS. For IIS issue, the best resource is IIS forum.
Based on the current situation, you’d better submit a new question to IIS forum for further assistance. In this way, your issue can be resolved effectively.
IIS Forums
Thanks for your understanding!
Regards,
Arthur Li
TechNet Community Support
Friday, January 6, 2012 7:34 AM
redirect all requests to the exact destination:
Select this option when you want clients to be redirected to the exact URL as specified in the Redirect requests to this destination box.
When this option is not selected, the destination is relative to the value specified in Redirect requests to this destination. For example, if you configure the redirection destination to be http://www.contoso.com/sales, and an incoming request is http://www.contoso.com/marketing/default.aspx, IIS will redirect the request to http://www.contoso.com/sales/default.aspx.
http://technet.microsoft.com/en-us/library/cc755042.aspx
Configure the redirection destination to be an exact destination when you want to change the default redirection behavior. When you configure the destination to be an exact destination, all incoming requests are redirected to the exact destination instead of the relative destination. This is useful when you want all requests to be redirected to the same Web page, such as when a site is down for maintenance or when it is undergoing construction.
Absolute and relative paths: http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm
only redirect requests to content in this directory ( not subdirectories )
Select this option when you want clients to be redirected to content in only the directory that is specified in the Redirect requests to this destination box.
When this option is not selected, requests are redirected to the location in the Redirect requests to this destination box, and to any subdirectories under that location. For example, if you configure the redirection destination to be http://www.contoso.com/sales, requests may be served from directories under /sales when the Redirect all requests to exact destination (instead of relative to destination) option is not also selected.
** **
MCTS - Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.