< Home

referer-filter whitelist-all enable

Function

The referer-filter whitelist-all enable command enables the function for matching the referer field in an HTTP request with all configured whitelist rules.

The undo referer-filter whitelist-all enable command disables the function.

Format

referer-filter whitelist-all enable

undo referer-filter whitelist-all enable

Parameters

None

Views

URL filtering profile view

Default Level

2: Configuration level

Usage Guidelines

By default, the function is enabled. The function can be used to access other links on a specific web page.

During URL filtering, if the referer field in an HTTP request sent by a user does not match the referer-host rule configured using the add referer-host command, the user can determine whether to match the referer field with all whitelist rules.
  • When the function of matching the referer field with whitelist rules is enabled, the referer field will be matched with all whitelist rules. If a match is found, the user can access the website.
  • When the function of matching the referer field with whitelist rules is disabled, the referer field will not be matched with all whitelist rules.

Example

# Disable the function for matching the referer field in an HTTP request with all configured whitelist rules.

<sysname> system-view
[sysname] profile type url-filter name profile_development
[sysname-profile-url-filter-profile_development] undo referer-filter whitelist-all enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >