URLRewriter Class |
Namespace: CMS.URLRewritingEngine
public class URLRewriter
The URLRewriter type exposes the following members.
Name | Description | |
---|---|---|
URLRewriter |
Name | Description | |
---|---|---|
PREFIX_CMS_GETATTACHMENT |
GetAttachment prefix for CMS pages (pages which require authentication).
| |
PREFIX_GETATTACHMENT |
GetAttachment prefix.
|
Name | Description | |
---|---|---|
FixRewriteRedirect |
If true, the URL rewriting process attempts to fix the redirect that some module did with wrong URL by another redirect with the original URL. Set true when using cookieless mode. Default is false.
| |
ProviderObject |
Provider object.
|
Name | Description | |
---|---|---|
CompleteRequestInternal |
Completes request
| |
GetRelativePathFromUrl |
Returns relative path from url.
Example: http://www.domain.com/mypage.aspx => /mypage.aspx
| |
HandleRewriteRedirect |
Handles the rewrite redirect of the request
| |
PerformPlannedRedirect |
Performs the redirect that was previously planned by URL rewriter
| |
ProcessRewritingResult(URLRewritingParams) |
Processes the result of URL rewriting and handlers appropriate actions
| |
ProcessRewritingResult(RequestStatusEnum, ExcludedSystemEnum, SiteNameOnDemand, String) |
Processes the result of URL rewriting and handlers appropriate actions
| |
RedirectInternal |
Redirects the response using specified URL (302 HTTP status code).
| |
RedirectPermanentInternal |
Redirects the response using specified URL using permanent redirection using 301.
| |
RewritePath |
Rewrites the path by using the given file path and query string.
| |
RewritePathInternal(String) |
Rewrites the URL by using the given path
| |
RewritePathInternal(String, Boolean) |
Rewrites the URL by using the given path
| |
RewritePathWithoutClearCachedUrlValuesInternal |
Rewrites the URL by using the given path, path information and query string information,
without clearing the cached values related to URL of the request
| |
RewriteUrl(String, ExcludedSystemEnum, SiteNameOnDemand) |
Applies rewriting to actual URL.
| |
RewriteUrl(RequestStatusEnum, String, ExcludedSystemEnum) |
Rewrites the URL and performs all operations required after URL rewriting.
| |
ValidateCulture |
Validates the given culture and modifies it with a valid culture when the given culture was not valid.
If not valid, it then chooses the site's default culture and sets it as a preferred culture.
| |
ValidateLicenseInternal |
Checks whether a license for the given URL and domain exists and is valid.
|