adumitru
Staff
Created on
05-31-2016
02:34 AM
Edited on
09-23-2024
12:40 AM
By
Jean-Philippe_P
Article Id
193489
Description
This article describes a troubleshooting step that may be used when the URL rewrite feature of FortiWeb does not work at all.
This feature is described in full detail in the 'Rewriting and Redirecting' section of the FortiWeb Administration Guide.
This feature is described in full detail in the 'Rewriting and Redirecting' section of the FortiWeb Administration Guide.
This guide is available in the Fortinet Document Library.
Configuring this feature is not the purpose of this article, however, the logical steps are:
Configuring this feature is not the purpose of this article, however, the logical steps are:
- Create a URL Rewriting Rule based on the given criteria.
- Create a URL Rewriting Policy to which one or more URL Rewriting Rules can be added.
- Apply the URL Rewriting Policy in an Inline Protection Profile.
Scope
FortiWeb.
Solution
FortiWeb cannot rewrite requests that exceed FortiWeb’s buffer size.
The default buffer size is currently set to 512kB. Increase the buffer size to a maximum of 1024kB then check if the rewrite works correctly.
The default buffer size is currently set to 512kB. Increase the buffer size to a maximum of 1024kB then check if the rewrite works correctly.
This can be done either through GUI.
FVVM02-10 # config system advanced
FVVM02-10 (advanced) # set max-cache-size 1024
FVVM02-10 (advanced) # end
FVVM02-10 #
FVVM02-10 (advanced) # set max-cache-size 1024
FVVM02-10 (advanced) # end
FVVM02-10 #
See max-cache-size in the CLI Guide.
Refresh the browser page to check if the rewrite now works as expected. If it does not, then it is possible to further increase the buffer size up to the maximum of 10240kB as of v7.0 and later.
Labels: