Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

webfilter search-engine

Introduction.

config webfilter search-engine
    edit {name}
    # Configure web filter search engines.
        set name {string}   Search engine name. size[35]
        set hostname {string}   Hostname (regular expression). size[127]
        set url {string}   URL (regular expression). size[127]
        set query {string}   Code used to prefix a query (must end with an equals character). size[15]
        set safesearch {disable | url | header}   Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header.
                disable  Site does not support safe search.
                url      Safe search selected with a parameter in the URL.
                header   Safe search selected by search header (i.e. youtube.edu).
        set charset {utf-8 | gb2312}   Search engine charset.
                utf-8   UTF-8 encoding.
                gb2312  GB2312 encoding.
        set safesearch-str {string}   Safe search parameter used in the URL. size[79]
    next
end

webfilter search-engine

Introduction.

config webfilter search-engine
    edit {name}
    # Configure web filter search engines.
        set name {string}   Search engine name. size[35]
        set hostname {string}   Hostname (regular expression). size[127]
        set url {string}   URL (regular expression). size[127]
        set query {string}   Code used to prefix a query (must end with an equals character). size[15]
        set safesearch {disable | url | header}   Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header.
                disable  Site does not support safe search.
                url      Safe search selected with a parameter in the URL.
                header   Safe search selected by search header (i.e. youtube.edu).
        set charset {utf-8 | gb2312}   Search engine charset.
                utf-8   UTF-8 encoding.
                gb2312  GB2312 encoding.
        set safesearch-str {string}   Safe search parameter used in the URL. size[79]
    next
end