Show Content
About
Show Content action is generally used to display a custom page to the client when the client makes a request to an undesired path in the vService. Show Content action can work during both request and response time. The status code that will be returned to the client can also be determined with this action.
How to Add?
To add a Show Content action from TR7 ASP web interface, "Traffic Manager > Traffic Manipulation > Actions > Add" steps are followed. At the current page Show Content is selected as a Action Type and the following form is shown.
Applicable vServices
- HTTP
- L7 TCP
- Network
Interface
Show Content Form
- Action Name
Name for the action is entered.
- Action Type
Show Content is selected.
- Execution Level
Action is triggered when the request arrives to the vService.
Action is triggered when the response from the Backend Service arrives to the vService.
- Content Page
The Content Page that will be shown to the client is selected. Add Content Page
button can be clicked to add the content page while creating the action. For detailed information about content pages, click here.
- Status Code
The status code in which the client will receive along with the Content Page is selected. By default, 200: OK status code is selected when the action is created. The table below lists the status codes that are supported by TR7.
- Complete List of HTTP Status Codes Supported by TR7
Status Code | Group | Explanation |
---|---|---|
100 | Information | Continue |
101 | Information | Switching Protocols |
102 | Information | Processing |
103 | Information | Early Hints |
200 | Success | OK |
201 | Success | Created |
202 | Success | Accepted |
203 | Success | Non-Authoritative Information |
204 | Success | No Content |
205 | Success | Reset Content |
206 | Success | Partial Content |
207 | Success | Multi-Statu |
208 | Success | Already Reported |
226 | Success | IM Used |
300 | Redirection | Multiple Choices |
301 | Redirection | Moved Permanently |
302 | Redirection | Found |
303 | Redirection | See Other |
304 | Redirection | Not Modified |
305 | Redirection | Use Proxy |
306 | Redirection | unused |
307 | Redirection | Temporary Redirect |
308 | Redirection | Permanent Redirect |
400 | Client Error | Bad Request |
401 | Client Error | Unauthorized |
402 | Client Error | Payment Required |
403 | Client Error | Forbidden |
404 | Client Error | Not Found |
405 | Client Error | Method Not Allowed |
406 | Client Error | Not Acceptable |
407 | Client Error | Proxy Authentication Required |
408 | Client Error | Request Timeout |
409 | Client Error | Conflict |
410 | Client Error | Gone |
411 | Client Error | Length Required |
412 | Client Error | Precondition Failed |
413 | Client Error | Payload Too Large |
414 | Client Error | URI Too Long |
415 | Client Error | Unsupported Media Type |
416 | Client Error | Range Not Satisfiable |
417 | Client Error | Expectation Failed |
418 | Client Error | I'm a teapot |
419 | Client Error | 419 |
420 | Client Error | Method Error |
421 | Client Error | Misdirected Request |
422 | Client Error | Unprocessable Entity |
423 | Client Error | Locked |
424 | Client Error | Failed Dependency |
425 | Client Error | Too Early |
426 | Client Error | Upgrade Required |
428 | Client Error | Precondition Required |
429 | Client Error | Too Many Requests |
430 | Client Error | Request Header Fields Too Large (Shopify) |
431 | Client Error | Request Header Fields Too Large |
440 | Client Error | 440 |
444 | Client Error | 444 |
449 | Client Error | 449 |
450 | Client Error | 450 |
451 | Client Error | Unavailable for Legal Reasons |
460 | Client Error | 460 |
463 | Client Error | 463 |
494 | Client Error | 494 |
495 | Client Error | 495 |
496 | Client Error | 496 |
497 | Client Error | 497 |
498 | Client Error | 498 |
499 | Client Error | 499 |
500 | Server Error | Internal Server Error |
501 | Server Error | Not Implemented |
502 | Server Error | Bad Gateway |
503 | Server Error | Service Unavailable |
504 | Server Error | Gateway Timeout |
505 | Server Error | HTTP Version Not Supported |
506 | Server Error | Variant Also Negotiates |
507 | Server Error | Insufficient Storage |
508 | Server Error | Loop Detected |
509 | Server Error | 509 |
510 | Server Error | Not Extended |
511 | Server Error | Network Authentication Required |
520 | Server Error | 520 |
521 | Server Error | 521 |
522 | Server Error | 522 |
523 | Server Error | 523 |
524 | Server Error | 524 |
525 | Server Error | 525 |
526 | Server Error | 526 |
529 | Server Error | 529 |
530 | Server Error | 530 |
598 | Server Error | 598 |
599 | Server Error | 599 |
- Conditions
Condition(s) that will trigger the action is/are selected. For detailed information about conditions, click here.