Content Rewrite

Navigation: Security Profiles

Rewrite or remove request/response headers, values, and URI paths based on match rules.

Content Rewrite

Add / Edit forms

Click + Add New to open the creation dialog, or Edit on an existing row to modify a record.

List view

List view

Add form — all tabs

The add dialog contains 2 tabs. Example values in the filled screenshots are for documentation only — do not save them on a production appliance.

General

Field Required Description Example Why this data is needed
Profile Name Yes Unique name for proxy rule attachment. URL_Rewrite Required — referenced in proxy Security Profiles tab.
Enable Content Rewrite Yes Master switch for rewrite rules. Enabled Must be Enabled — otherwise rewrite rules are ignored.

Empty:

Add — General (empty)

Filled with example data (for illustration — shows why each field needs a value):

Add — General (filled)

Rewrite Rules

Field Required Description Example Why this data is needed
Match Pattern Yes URL pattern to find in requests or responses. /old-path/(.*) Required — identifies URLs that need rewriting.
Replace With Yes New URL or replacement string. /new-path/$1 Required — the destination after rewrite is applied.
Rewrite Direction Yes Request URL, response body, or redirect. Request Required — determines where the rewrite is applied.

Empty:

Add — Rewrite Rules (empty)

Filled with example data (for illustration — shows why each field needs a value):

Add — Rewrite Rules (filled)

Edit form — all tabs

The edit dialog contains 2 tabs. Fields are the same as Add — values show the currently saved record:

General

Field Required Description Example Why this data is needed
Profile Name Yes Unique name for proxy rule attachment. URL_Rewrite Required — referenced in proxy Security Profiles tab.
Enable Content Rewrite Yes Master switch for rewrite rules. Enabled Must be Enabled — otherwise rewrite rules are ignored.

Edit — General

Rewrite Rules

Field Required Description Example Why this data is needed
Match Pattern Yes URL pattern to find in requests or responses. /old-path/(.*) Required — identifies URLs that need rewriting.
Replace With Yes New URL or replacement string. /new-path/$1 Required — the destination after rewrite is applied.
Rewrite Direction Yes Request URL, response body, or redirect. Request Required — determines where the rewrite is applied.

Edit — Rewrite Rules

Page sections

Available actions

Table columns

Tabs