rewrite tool

The rewrite tool click here at permits you to generate regulations that change demands as well as reactions as they travel throughCharles. Regulations like adding or altering a header or searchand also replace some text in the feedback body.

Rewrite Places

Rewrite collections could be one at a time turned on and also shut off. Eachcollection consists of a listing of places and also regulations. The locations decide on the requests and actions on whichthe rules will definitely function.

Rewrite Guidelines

Eachregulation illustrates a singular rewrite operation. The regulation might impact the headers, the body system, or parts of the demand LINK; it might operate on the ask for and also or even the reaction; it might after that specify hunt and also substitute or simply change style rewording.


The style indicates the sort of rewording operation to conduct. There are actually 4 different classifications of rewrite rule kinds; header policies, URL regulations, question parameter policies, and also body system rules. The header and inquiry criterion regulations affect the header industries and query string parameters specifically; adding, tweaking or even getting rid of headers as well as parameters. The LINK and body system regulations perform find and switchout on the different parts of the URL as well as on the physical body.


Choose where towards apply the rewrite regulation; on the request, feedback or each.


The fit industries consist of the text message to matchin the demand or even action to make a decision whether to discharge this guideline. You can optionally leave behind the title or even value blank, or both, to matchany kind of market value. If you leave boththe name as well as worthranges blank you will matchall asks for/ actions.

Regex help might be actually made it possible for, supplying Perl-style frequent articulations for your match. If you include teams in your regular phrase they might be utilized in the complement industries.

The rewrite tool industry is a precise suit area unless regex is enabled, throughwhichscenario it sustains partial suits. The name area is actually case-insensitive for bothregex and usual matching. The title field might be actually impaired if you are creating a rewrite policy type that does not need it.

The worthindustry is a partial fit unless you activate Suit entire worththroughwhichinstance it is actually a particular complement. The wortharea is actually case-insensitive for eachregex as well as regular matching for header and query parameter rules, and case-sensitive for URL and also body system regulations.

New/ Change

The new/replace ranges consist of the content to include or even replace in the ask for or response when this regulation is actually fired up. Leave behind rewrite tool either the label or worthblank to leave them the like the matched name or worth.

If regex assistance is actually enabled for the matchyou might reference matchgroups using $1, $2 and so on.

The behavior of the title and value fields hinges on the match. If there is a corresponding suit after that the field works as a replacement for the matched content, typically if the suit is actually blank after that the areas switches out the whole label or even market value.

The worthindustry assists Replace First or even Replace All settings. The label field always functions in replace-first mode if the title fit is actually a regex, otherwise it is actually a precise complement and replaces the whole title.

The name as well as or even market value industries may be handicapped if you are actually producing a rewrite regulation type that doesn’t require them.


Rewrite rules can be complicated to debug if they are certainly not operating as you expect. It is actually often better to accumulate a policy little by little along withfrequent screening.

Location Matching

Eachplace suit may consist of protocol, bunch, port and also pathway designs to matchparticular Links. Places might feature wildcards. More help for developing location matches may be actually located when you add a brand new area to this rewrite tool.


The rewrite tool can be toughto debug when your rewrite operation isn’t working as anticipated. If you possess trouble attempt consisting of a really essential regulation suchas one that incorporates a noticeable header, therefore you may view whether your guidelines are matching the demand at all. Additionally activate Debug at fault Record to obtain some debugging info published in the Inaccuracy Log accessed coming from the Home window menu in Charles.