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
- 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.
- Allowed Origins
By default, "*" is selected, allowing all origins/domains. You can specify multiple origins/domains by separating them with commas.
- Allowed Headers
By default, "*" is selected, allowing all HTTP headers. You can specify multiple HTTP headers by separating them with commas.
- Form Buttons
Condition Status
CORS action does not require conditions.