Skip to content

CORS

About

The CORS action is used when you want to prevent CORS errors, manage allowed HTTP methods, origins, and HTTP headers in real-time or in response to an incoming request or response to the vServices.

How to Add?

To add the CORS action from TR7 ASP web interface, "Traffic Manager > Traffic Manipulation > Actions > Add" steps are followed. At the current page CORS is selected as an Action Type and the following form is shown.

Applicable vServices

  • HTTP
  • L7 TCP
  • Network

Interface

CORS Form

LOGO

CORS Action Adding Form

- Action Name


Name for the action is entered.

- Action Type


CORS is selected.

- Allowed Methods


By default, "*" is selected, allowing all HTTP methods. You can specify multiple HTTP methods by separating them with commas.

LOGO

- Allowed Origins


By default, "*" is selected, allowing all origins/domains. You can specify multiple origins/domains by separating them with commas.

LOGO

- Allowed Headers


By default, "*" is selected, allowing all HTTP headers. You can specify multiple HTTP headers by separating them with commas.

LOGO

- Form Buttons

Add button can be clicked to add the configured action.

Add & Repeat button can be clicked to add the configured action. New similar actions can also be added without losing the current configuration by clicking this button. The following alert is shown when the button is clicked.

LOGO

Condition Status

CORS action does not require conditions.

Was this page helpful?