Fortinet white logo
Fortinet white logo

CLI Reference

config webfilter search-engine

config webfilter search-engine

Configure web filter search engines.

config webfilter search-engine
    Description: Configure web filter search engines.
    edit <name>
        set hostname {string}
        set url {string}
        set query {string}
        set safesearch [disable|url|...]
        set charset [utf-8|gb2312]
        set source-url [enable|disable]
        set safesearch-str {string}
    next
end

config webfilter search-engine

Parameter

Description

Type

Size

hostname

Hostname (regular expression).

string

Maximum length: 127

url

URL (regular expression).

string

Maximum length: 127

query

Code used to prefix a query (must end with an equals character).

string

Maximum length: 15

safesearch

Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header.

option

-

Option

Description

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).

charset

Search engine charset.

option

-

Option

Description

utf-8

UTF-8 encoding.

gb2312

GB2312 encoding.

source-url

Enable/disable source url in the image search result.

option

-

Option

Description

enable

Enable source url in image search.

disable

Disable source url in image search.

safesearch-str

Safe search parameter used in the URL.

string

Maximum length: 79

config webfilter search-engine

config webfilter search-engine

Configure web filter search engines.

config webfilter search-engine
    Description: Configure web filter search engines.
    edit <name>
        set hostname {string}
        set url {string}
        set query {string}
        set safesearch [disable|url|...]
        set charset [utf-8|gb2312]
        set source-url [enable|disable]
        set safesearch-str {string}
    next
end

config webfilter search-engine

Parameter

Description

Type

Size

hostname

Hostname (regular expression).

string

Maximum length: 127

url

URL (regular expression).

string

Maximum length: 127

query

Code used to prefix a query (must end with an equals character).

string

Maximum length: 15

safesearch

Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header.

option

-

Option

Description

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).

charset

Search engine charset.

option

-

Option

Description

utf-8

UTF-8 encoding.

gb2312

GB2312 encoding.

source-url

Enable/disable source url in the image search result.

option

-

Option

Description

enable

Enable source url in image search.

disable

Disable source url in image search.

safesearch-str

Safe search parameter used in the URL.

string

Maximum length: 79