HttpContext.RewritePath Method (String, Boolean)
.NET Framework 3.0
Rewrites the URL using the given path and a Boolean value that specifies whether the virtual path for server resources is modified.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The HttpContext.RewritePath(String,Boolean) method is called by the HttpContext.RewritePath(String) method with the rebaseClientPath parameter set to true. To ensure that the virtual path that is used to construct paths to resources is not modified, set the rebaseClientPath parameter to false. A common scenario in which you might want to set rebaseClientPath to false is when you need to rewrite the URL, and you are using themes and redirecting the URL to a resource located in a different folder than the requested resource.
Community Additions
ADD
Show: