To configure a path-based rule, you need to follow these steps:
- Navigate to the application gateway
- Under SETTINGS, click on Rules, and a new blade will be opened
- To add a path-based rule, click on Path-based, and a new blade will be opened wherein you have to specify the following:
- Name: Specify a descriptive name for the rule
- Listener: Specify the listener that will be associated with this rule
- Default backend pool: Specify the backend pool to which this rule will be associated
- Default HTTP settings: Specify the HTTP settings that will be associated with this rule
- Then, you have to specify the paths by specifying the following:
- NAME: Specify a descriptive name for the path
- PATHS: Specify the path itself
- BACKEND POOL: Specify the backend pool on which this path exists
- HTTP SETTINGS: Specify the HTTP settings that will be applied
Figure 8.23: Configure path-based rule
- Once you are done, click on OK, and the rule will be added