Troubleshooting Tip: How to debug FortiWeb Content Routing policy with CLI debug commands
| Description | This article describes steps to debug the FortiWeb Content Routing policy. |
| Scope | FortiWeb. |
| Solution | Prerequisite: FortiWeb Server Policy Using Content Routing Policy.
FortiWeb Content Routing Policy executes in the sequence from top to bottom.
FortiWeb CLI command supports checking if the Content Routing rule matches. Due to the amount of logs generated, it is recommended to create a log file for the session using PuTTY to log the data and check it afterwards.
diagnose debug timestamp enable diagnose debug flow filter flow-detail 4 diagnose debug flow filter client-ip x.x.x.x <----- Client IP. diagnose debug flow filter server ip y.y.y.y <----- Virtual IP. diagnose debug flow trace start diagnose debug enable
Try to load the website URL and then afterwards, disable debugging:
diagnose debug reset
The debug output is shown in the screenshot below.
Related document: Routing based on HTTP content |


