Fortinet black logo

CLI Reference

webfilter content-header

webfilter content-header

Introduction.

config webfilter content-header
    edit {id}
    # Configure content types used by Web filter.
        set id {integer}   ID. range[0-4294967295]
        set name {string}   Name of table. size[35]
        set comment {string}   Optional comments. size[255]
        config entries
            edit {pattern}
            # Configure content types used by web filter.
                set pattern {string}   Content type (regular expression). size[31]
                set action {block | allow | exempt}   Action to take for this content type.
                        block   Block content type.
                        allow   Allow content type.
                        exempt  Exempt content type.
                set category {string}   Categories that this content type applies to.
            next
    next
end

webfilter content-header

Introduction.

config webfilter content-header
    edit {id}
    # Configure content types used by Web filter.
        set id {integer}   ID. range[0-4294967295]
        set name {string}   Name of table. size[35]
        set comment {string}   Optional comments. size[255]
        config entries
            edit {pattern}
            # Configure content types used by web filter.
                set pattern {string}   Content type (regular expression). size[31]
                set action {block | allow | exempt}   Action to take for this content type.
                        block   Block content type.
                        allow   Allow content type.
                        exempt  Exempt content type.
                set category {string}   Categories that this content type applies to.
            next
    next
end