Partager via


Edit Outbound Rule Page

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Use the Edit Outbound Rule page to edit the parameters for URL rewrite rules that apply to HTTP responses.

Note

This feature was introduced in version 2.0 of the URL Rewrite module for IIS 7.

UI Element List

The following tables describe the UI elements that are available in Features View and in the Actions pane.

Features View Elements

Element Name Description

Name

Specifies the name of the URL rewrite rule.

Pre-condition

Specifies any pre-conditions that apply to the rule. The list of pre-conditions is created through the Preconditions for Outbound Rules Page.

Match URL

Manages the settings that define the URL pattern to match for the rule. This section contains the following UI elements:

 

Element Name Description

Match the content within

Specifies the list of predefined HTML tags to which the rule applies.

Custom Tags

Specifies the group of custom HTML tags to which the rule applies. This element is available when Use Custom Tags is selected in the Match the content within element.

Requested URL

Possible values are Matches the pattern or Does not match the pattern.

Using

Specifies whether regular expressions, wildcard characters, or an exact match will be used to match URL strings.

Pattern

Specifies the pattern to match for the rule. For more information, see Importing mod_rewrite Rules.

Ignore Case

When selected, specifies that case will be ignored in pattern matching.

Test Pattern

Opens the Test Pattern dialog box, which lets you test the rule’s behavior. For more information, see Test Pattern Dialog Box.

Conditions

Manages the collection of optional rule conditions. This section contains the following UI elements:

 

Element Name Description

Logical grouping

Specifies which conditions must be met for the rule. Possible values are Match All or Match Any.

Add

Opens the Add/Edit Condition Dialog Box, from which you can add a new condition for the rule.

Edit

When an existing condition is selected, opens the Add/Edit Condition Dialog Box, from which you can edit the condition for the rule.

Remove

When an existing condition is selected, removes the condition from the rule.

Move Up

Promotes the selected condition to a higher priority level in the list of conditions; this enables the condition to be evaluated before conditions that are lower in priority in the list.

Move Down

Demotes the selected condition to a lower priority in the list of conditions; this enables the condition to be evaluated after conditions that are higher in priority in the list.

Track capture groups across conditions

Specifies whether the capture groups from all matched conditions are available through back references.

For more information about rule conditions, see Configuring Rewrite Rules.

Action

Manages the action to take when the URL string matches the specified rule pattern and rule conditions. This section contains the following UI elements:

 

Element Name Description

Action Type

Displays the action type of the rule. Possible values are Rewrite or None. Other UI elements will be displayed or hidden depending on the action type that is specified.

Action Properties

Displays the properties for the selected action type. This section is available only for the Rewrite action type.

Value

Specifies value syntax for the rule. This element is available only for the Rewrite action type.

Stop processing of subsequent rules

When selected, specifies that rules that come after the current rule will not be processed. This element is available only for the Rewrite and None action types.

Actions Pane Elements

Element Name Description

Apply

Saves the changes to the rule.

Cancel

Cancels the changes to the rule and reverts back to the last saved version of the rule.

Back to Rules

Returns to the URL Rewrite Module Page.

See Also

Concepts

Add/Edit Condition Dialog Box