The rewrite tool enables you to make policies that change demands and responses as they travel throughCharles. Rules like adding or changing a header or even hunt and replace some content in the action physical body.

Rewrite Places

Rewrite collections could be one by one activated and also shut off. Eachset includes a listing of sites as well as regulations. The sites select the demands as well as responses on whichthe rules are going to operate.

Rewrite Regulations

Eachpolicy illustrates a single rewrite procedure. The guideline may affect the headers, the body, or parts of the demand LINK; it may operate on the demand and or the response; it might then define hunt and replace or even just change design rewording.


The kind defines the type of rewriting procedure to execute. There are actually four various types of rewrite guideline styles; header regulations, LINK rules, concern parameter rules, and body rules. The header and question criterion guidelines impact the header industries and question string guidelines respectively; adding, changing or even getting rid of headers as well as criteria. The URL as well as physical body procedures conduct find and also switchout on the various component of the URL and also on the body system.


Choose where towards apply the rewrite rule; on the ask for, action or each.


The complement fields contain the content to matchin the request or even feedback to decide whether to discharge this guideline. You may additionally leave the label or market value empty, or both, to matchany sort of worth. If you leave boththe label and also worthfields blank you will matchall requests/ responses.

Regex support may be actually made it possible for, supplying Perl-style routine phrases for your suit. If you feature teams in your normal expression they may be actually made use of in the fit industries.

The rewrite tool field is actually a specific complement field unless regex is actually enabled, in whichinstance it assists partial matches. The label area is actually case-insensitive for eachregex and also typical matching. The title area might be impaired if you are actually generating a rewrite rule style that does not need it.

The worthindustry is a limited fit unless you activate Complement whole value in whichinstance it is a particular suit. The value area is actually case-insensitive for eachregex as well as normal matching for header as well as concern specification procedures, and also case-sensitive for URL and physical body procedures.

New/ Change

The new/replace fields have the content to incorporate or switchout in the request or response when this guideline is fired up. Leave behind rewrite tool either the name or even value empty to leave them the like the matched label or even market value.

If regex help is actually enabled for the fit you may reference fit groups utilizing $1, $2 etc.

The practices of the label and value industries relies on the suit. If there is actually a corresponding suit at that point the area serves as a substitute for the matched text, or else if the suit is actually empty after that the industries substitutes the whole name or even value.

The wortharea supports Replace First or Replace All modes. The label area consistently operates in replace-first method if the name complement is a regex, or else it is an exact suit and also replaces the whole label.

The title as well as or even market value areas may be impaired if you are generating a rewrite regulation kind that doesn’t demand all of them.


Rewrite guidelines may be difficult to debug if they are not working as you count on. It is frequently well to build up a rule gradually withfrequent screening.

Location Matching

Eacharea matchmay have method, lot, slot and also pathway designs to matchparticular Links. Locations might consist of wildcards. Even more aid for creating place suits might be discovered when you incorporate a brand-new place to this rewrite tool.


The rewrite tool may be complicated to debug when your rewrite operation isn’t working as anticipated. If you possess trouble attempt including a very basic guideline suchas one that adds an evident header, therefore you can easily see whether your guidelines are actually matching the request whatsoever. Additionally activate Debug at fault Record to obtain some debugging details published in the Inaccuracy Record accessed from the Window food selection in Charles.