İçerik Göster
Hakkında
İçerik Göster aksiyonu genellikle vService'lerde istenmeyen path'lere istek yapıldığında, istenilen bir içerik sayfasını istemciye göstermek için kullanılmaktadır. İçerik Göster aksiyonu hem Request anında hem de response anında çalışabilmektedir. Ayrıca hangi durum kodu ile istemciye içerik sayfasının gösterileceğide ayarlanabilir.
Nasıl Eklenir?
İçerik Göster aksiyonunu eklemek için TR7 ASP web arayüzü üzerinden, "Traffic Manager > Traffic Manipulation > Actions > Add" adımları takip edilir. Gelen sayfada Action Type olarak Show Content seçilirek aşağıdaki form elde edilir.
Kullanılabildiği vService Tipleri
- HTTP
- L7 TCP
- Network
Arayüz
İçerik Göster Formu
- Action Name
Oluşturulacak olan aksiyona isim girilir.
- Action Type
Show Content seçilir.
- Execution Level
İstek vService'e geldiği anda aksiyon devreye girer.
İstek vService'e gelip Kurum Servisine iletilmesinden sonra tekrar vService'e geldiğinde aksiyon devreye girer.
- Content Page
İstemciye gösterilecek olan Content Page seçilir. Add Content Page
butonuna tıklanarak yeni bir içerik sayfası aksiyon ekleme adımında da eklenebilir. İçerik sayfaları hakkında detaylı bilgiye ulaşmak için tıklayınız.
- Status Code
İstemciye gösterilecek olan Content Page'in hangi HTTP Durum Kodu ile döndürüleceği seçilir. Varsayılan olarak HTTP 200 Durum Kodu seçili olarak gelir. Aşağıdaki tabloda, seçilebilecek olan TR7 tarafından desteklenen HTTP durum kodlarının listesi bulunmaktadır.
- TR7 Tarafından Desteklenen HTTP Durum Kodlarının Tüm Listesi
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
Seçilen aksiyonun hangi koşul ya da koşullarda devreye girileceği seçilir. Koşullar hakkında detaylı bilgiye ulaşmak için tıklayınız.