Related Documentation
custom-message (Security Web Filtering)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 15.1X49-D110.
Description
The custom-message configuration option is used to notify the users when the URL is blocked or quarantined for each EWF category. You can customize the message with options such as, user message or redirect URL.
user-message: User messages indicate that website access has been blocked by an organization's access policy.
redirect-url: Redirect URLs redirect a blocked or quarantined URL to a user-defined URL.
You can configure a separate custom message or redirect URL for each EWF category. If the action configured for the category is block, then the device logs the block action and sends a redirect response to HTTP client.
You can also define a redirect URL server so that instead of the device sending a block page with plain text html, the device will send an HTTP 302 redirect to this redirect server with some special variables embedded in the HTTP redirect location field. For example, if you want to avoid access some malicious site, you can redirect to any other URL.
![]() | Note: UTM supports maximum 500 custom message objects. |
Options
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.