Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Hotfix to Permit URL Path Redirection in Web Publishing Rules
Article ID: 331069 - View products that this article applies to.
This article was previously published under Q331069
When you use Web Publishing Rules to publish an internal Web site, you cannot redirect the URL path to a different path on the internal Web server.
Note In this article, the path is defined as that portion of the URL that appears between the first and the last forward slash characters (/) in the URL.
For example, when you create a Web Publishing Rule that uses the following Destination Set
http://www.example.com/site1ISA Server automatically redirects the request to the internal Web server as follows, where Web01 is the name of your Web site:
http://Web01/site1Therefore, you cannot use paths to direct incoming requests to the root directory of an internal Web site. In this scenario, the Web site content must be stored in the site1 folder instead of in the root directory.
This issue occurs because ISA Server passes the original URL path unchanged to the internal Web site.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
This hotfix permits you to remove some or all of the URL path, beginning with the first forward slash character (/), when you publish a Web site. For example, by creating a path mapping to remove the /site1/ portion of the following URL, you can configure ISA Server to translate the following
Date Time Version Size File name -------------------------------------------------------------------- 08-May-2003 21:24 3.0.1200.266 178,448 Mspadmin.exe 08-May-2003 21:23 3.0.1200.266 103,184 Msphlpr.dll 09-May-2003 00:45 1.0 19,572 Pathmappingeditor.hta 08-May-2003 21:23 3.0.1200.266 391,440 W3proxy.exe 08-May-2003 21:24 3.0.1200.266 299,280 Wspsrv.exe
http://Web01Consider the following examples:
Note After you install this hotfix, ISA Web Proxy Logging changes. The cs-uri field contains the mapped data, not the original request.
Important To enable the functionality provided by this hotfix, you must install ISA Server Feature Pack 1. For information about how to obtain ISA Server Feature Pack 1, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?familyid=2f92b02c-ac49-44df-af6c-5be084b345f9&displaylang=enFor information about how to obtain Service Pack 1 (SP1) for ISA Server, visit the following Web site:
http://www.microsoft.com/technet/archive/isa/2000/downloads/servicepacks/engsp1.mspx?mfr=trueAdditionally, Microsoft recommends that you install Microsoft Internet Explorer 6.0 or later to support the functionality of the Path Mapping Editor.
Path translation does not extend to multiple instances of the specified string. ISA Server searches for the first instance of the particular path mapping, and then replaces it. For example, when you create a path mapping of /site1/, the following URL
http://www.example.com/site1/site2/site1is translated as follows:
http://Web01/site2/site1Important The ISA Server Path Mapping Editor Tool rejects path definitions that violate the Request For Comments (RFC) 2396 path restrictions.
To work around this issue, use the instructions in the following Microsoft Knowledge Base article to redirect Microsoft Internet Information Services (IIS) subfolders to the Web root folder:
(http://support.microsoft.com/kb/310177/EN-US/ )HOW TO: Redirect IIS 5.0 Subfolders to a Web Root Folder in Windows 2000
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Article ID: 331069 - Last Review: June 14, 2007 - Revision: 2.6