rewrite tool

The rewrite tool enables you to create regulations that modify asks for and reactions as they go throughCharles. Guidelines suchas including or even transforming a header or even searchand replace some content in the response body system.

Rewrite Sets

Rewrite collections could be one by one switched on and also shut down. Eachset contains a listing of locations and rules. The sites decide on the requests and also reactions on whichthe rules will certainly run.

Rewrite Rules

Eachpolicy defines a solitary rewrite operation. The rule might impact the headers, the body, or aspect of the request URL; it may operate the ask for and or the action; it might after that determine hunt and change or even merely substitute design rewording.


The type indicates the type of rewording operation to do. There are four various groups of rewrite regulation styles; header rules, URL regulations, concern criterion policies, and body policies. The header and inquiry guideline policies have an effect on the header industries and also question cord criteria specifically; including, tweaking or removing headers as well as parameters. The LINK and also physical body policies do discover and also change on the different aspect of the URL as well as on the physical body.


Choose where to be applicable the rewrite guideline; on the ask for, reaction or even both.


The complement areas consist of the message to matchin the demand or even response to choose whether to discharge this guideline. You may additionally leave behind the label or even value empty, or even both, to matchany market value. If you leave behind boththe name as well as worthfields empty you will definitely matchall requests/ reactions.

Regex help may be actually allowed, delivering Perl-style routine articulations for your suit. If you consist of teams in your frequent expression they may be used in the suit areas.

The rewrite tool field is a precise suit field unless regex is actually allowed, in whichscenario it sustains predisposed complements. The name industry is case-insensitive for eachregex as well as typical matching. The name area might be actually handicapped if you are developing a rewrite policy style that doesn’t require it.

The market value industry is actually a partial matchunless you activate Matchentire market value in whichcase it is actually a specific suit. The market value field is case-insensitive for eachregex as well as ordinary matching for header and question guideline policies, and also case-sensitive for LINK as well as body system procedures.

New/ Replace

The new/replace fields have the content to add or replace in the ask for or response when this rule is actually fired up. Leave behind rewrite tool either the label or market value blank to leave them the same as the matched label or even market value.

If regex help is permitted for the matchyou might reference suit teams using $1, $2 etc.

The behavior of the label and also market value areas depends upon the suit. If there is an equivalent suit at that point the industry functions as a substitute for the matched content, or else if the matchis actually empty at that point the industries changes the entire label or worth.

The market value area supports Replace First or even Replace All modes. The name field consistently functions in replace-first method if the name suit is a regex, or else it is actually an exact matchand also changes the whole name.

The name and also or market value industries may be handicapped if you are actually producing a rewrite regulation type that does not demand them.


Rewrite rules could be difficult to debug if they are actually not functioning as you anticipate. It is commonly better to develop a regulation gradually along withconstant screening.

Location Matching

Eacharea suit might consist of procedure, host, slot and course patterns to matchdetails Links. Sites may consist of wildcards. More aid for producing location matches might be actually located when you include a brand new area to this rewrite tool.


The rewrite tool may be difficult to debug when your rewrite procedure isn’t working as expected. If you have problem attempt including an extremely standard rule including one that includes an evident header, therefore you can easily find whether your guidelines are matching the request whatsoever. Additionally switchon Debug at fault Log to obtain some debugging info imprinted in the Error Record accessed coming from the Home window food selection in Charles.