I (ignore case)
Forced character matching regardless of upper and lower case
U (Unmangle Log)
Record URI when the URI is a source requirement rather than a rewrite requirement
O (nOrmalize)
Standardize strings before implementation. Standardization includes URL-ENCODING, re-moval of illegal characters, etc. This tag is useful for URLS and URLS-ENDODED headers.
CacheClockRate directive
Syntax: CacheClockRate Interval
This instruction only appears in the GLOBAL configuration content. If this instruction appears in the SITE-LEVEL content, it will be ignored and the error message will be written to the file
ISAPI_Rewrite caches is configured every time it is loaded for the first time. Using this directive you can limit the inactive cycle when a specific site is cleaned from the cache. Set this parameter to be large enough. You can force ISAPI_Rewrite to never clean the cache. Remember that any configuration file changes will be updated immediately after the next request and ignore this cycle.
Interval
Limited the inaction time (in seconds) of cache cleaned out of a specific configuration, default value 3600 (1 hour)
EnableConfig and DisableConfig directives
Syntax:
EnableConfig [SiteID|"Site name"]
DisableConfig [SiteID|"Site name"]
Activate or do not activate the SITE-LEVEL configuration for the selected site or change the default configuration. The default SITE-LEVEL configuration is not activated. This instruction only appears in the GLOBAL configuration content.
SiteID
Numeric metabase identifier of a site
Site name
Name of the site as it appears in the IIS console
Use this command without parameters to change the default configuration to the ENABLE/DISABLE configuration process
example
The following example will make the configuration only work on sites whose name is MY SITE
DisableConfig
EnableConfig 1
EnableConfig"My site"
The following example will activate the SOMESITE configuration name as SOMESITE because it splits the settings and overloads the default settings.
EnableConfig"Some site"
DisableConfig
EnableRewrite and DisableRewrite directives
Syntax:
EnableRewrite [SiteID|"Site name"]
DisableRewrite [SiteID|"Site name"]
Activate or do not activate the selected site and change the default configuration. The default rewrite configuration is activated. This command only appears in the GLOBAL configuration content.
SiteID
Numeric metabase identifier of a site
Site name
Name of the site as it appears in the IIS console.
This command will be activated or not activated without using parameters.
RepeatLimit directive
Syntax: RepeatLimit Limit
This instruction can appear in the GLOBAL and SITE-LEVEL configuration files. If it appears in the GLOBAL configuration file, it will change the restrictions on all sites. If it appears in the SITE-LEVEL configuration, it will only change the restrictions on this site and this limit cannot exceed the GLOBAL limit.
ISAPI_Rewrite allows loops when implementing rules. This directive allows limiting the maximum number of possible loops. It can be set to 0 or 1 without supporting loops.
LIMIT
Limit the maximum number of cycles, default 32
RFStyle directive
Syntax: RFStyle Old | New
Configuration Utility
ISAPI_Rewrite Full includes configuration function (can be started in the ISAPI_Rewrite program group), which allows you to browse the test status and enter the registration code (if it is not registered during the installation process), and adjust some product functions related to proxy mode operations. UTILITY is an attribute table composed of three pages.
Trial page allows you to browse the TIRAL status and enter the registration code (if there is no registration during the installation process)
Settings page
This page contains an edit box for the following parameters
Helper URL
This parameter affects the connection between the filter and the proxy module, that is, it can be a file extension prefixed with dots (such as .isrwhlp) or an absolute path.
In the first case, the extension will be appended to the initial request URI and the proxy module is activated through SCRIPT MAP. The default extension isrwhlp is added to the global script map in the installation process. If you change this extension or your application does not inherit global script map, you should manually add the entry required to script map. This should have the following parameters
Executable: An absolute path to the in the short form
Extension: Desired extension (.isrwhlp is default)
Verbs radio button: All Verbs
Script engine checkbox: Checked
Check that file exists checkbox: Unchecked
We have created a WSH script which can be simply registered in a script maps. It is located in the installation folder and can be run on the command line as follows
cscript [-r] [MetabasePath]
Optional -r Force registration of extension
Optional MetabasePath parameter allows specification of the first metabase key to process. By default it is "/localhost/W3SVC".
To register in all existing script maps you can activate script with the following command line
cscript -r
In the second case, you should provide a URI as the value of 'Helper URL', and you should also map an ISAPI_Rewrite installation folder as the virtual file home of Meiyi sites.
Note: According to customer response, IIS5 (maybe including IIS4) has problems with long directory names. So we highly recommend using short directory names
Worker threads limit
This parameter limits the number of worker threads in the proxy extension thread pool, the default is 0, which means that this limit is equal to the number of processors multiplied by 2
Active threads limit
This parameter limits the current number of running threads, and this number cannot be greater than "Worker threads limit". The default 0 means equal to the number of processors
Queue size This parameter defines the maximum number of requests. If you have ever seen Queue timeout expired” in the Application event log you can add this parameter
Queue timeout
This parameter defines the maximum waiting time for you to prevent new requests in the internal request queue. If you have ever seen the Queue timeout expired” info in the Application event log you can add this parameter
Connect timeout
Set the proxy module connection timeout in milliseconds
Send timeout
Set the proxy module sending timeout in milliseconds
Receive timeout
Set the proxy module sending timeout in milliseconds
About page.
It contains copyright information and a link to the ISAPI_Rewrite's web site.
Regular expression syntax
This part covers the expression syntax specified by ISAPI_Rewrite
Literals
All characters have the original meaning except ".","*", "*", "?", "+", "(", ")", "{", "}", "[", "]", "^" and "$". These characters are the original meaning when processed with "\", and the original meaning means that a character matches itself
Wildcard
The dot character "." matches any single character except null character and newline character
Previous page123Next pageRead the full text