FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
Pedro_FTNT
Staff
Staff
Article Id 278338
Description

This article describes how to troubleshoot 'ERR_TOO_MANY_REDIRECTS' Browser Message when trying to open a Web Page.

 

The 'ERR_TOO_MANY_REDIRECTS' error is a common issue encountered when trying to access a website through a web browser.

It typically occurs when there is a misconfiguration on the website or server, leading to an infinite loop of redirects, where the browser is continuously redirected from one URL to another without reaching a final destination.

Scope FortiWeb.
Solution

This is a quick possible solution to solve this issue using FortiWeb 'URL Rewriting' and 'Regular Expression'.

 

 

FortiWeb Configurations.

Go to:

  1. Application Delivery/URL Rewriting.
  2. Create a New URL Rewriting Rule.
  3. Complete using:
  • Name: Redirect.
  • Action Type: Request Action.
  • Request Action: Redirect (301 Permanet).
  1. Select 'OK'.
  2. Complete URL Rewriting Condition Table:

 

1.png

 

  1.  Configure URL Rewriting Policy:
  • Select the created URL Rewriting Rule named: Redirect.
  •  Configure it on Rules TOP.

 

2.png

 

  1. Configure this URL Rewriting Policy in the Web Protection Profile:

 

3.png

 

 

  1. Configure this Web Protection Profile in the Policy Server:

 

4.png

 

To know about Regular Expression Notation, check this FortiWeb document:

Appendix E: Regular expressions

 

Contributors