Article ID: 324000 - Last Review: July 3, 2008 - Revision: 4.0 How to redirect URLs to different Web sitesThis article was previously published under Q324000 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
On This PageSUMMARY
This article describes how to translate redirection and rewriting configurations from an Apache configuration file to Internet Information Services (IIS). Redirecting URLsWhen you use Apache, you can redirect URLs by using the Redirect directive to point a folder or a location to a different folder on either the same Web site or a different Web site. You can also alias a folder to another location by using the Alias directive. If you use IIS, you can perform the same tasks by using the URL Redirection functionality.To redirect a folder or file IIS:
Rewriting URLsIf you use Apache, you can use the regular expression system to rewrite or redirect URLs to different folders, files, or directories. If you are using IIS, you can perform the same task by using a combination of wildcard characters and replacement variables. See the following table to determine the elements of a URL that you can substitute during a rewriting procedure.Collapse this table
IIS supports the following wildcard characters:
For example, to redirect all the files that end with .html to the Default.html file:
REFERENCES
For more information about configuring basic settings for a migration from UNIX to Windows, click the following article number to view the article in the Microsoft Knowledge Base:
324213
(http://support.microsoft.com/kb/324213/
)
How to migrate Apache settings and configure IIS in a UNIX-to-Windows migration
| Article Translations
|
Back to the top
