The add referer-host command adds referer-host rules to a URL filtering profile.
The undo add referer-host command deletes referer-host rules from a URL filtering profile.
| Parameter | Description | Value |
|---|---|---|
host-text |
Specify a host rule. |
The value is a string of 4 to 255 characters, without /, \, #, ", ?, or spaces. |
all |
Indicates all host rules. |
- |
By default, the function of matching the referer field in a URL request with whitelist rules is enabled. If the function is disabled, you can run the undo referer-filter whitelist-all enable command to disable it.
The referer field is a part of an HTTP header. A browser adds the referer field to an HTTP request before sending it to a web server, so that the web server can understand the link of the web.