Fortinet white logo
Fortinet white logo

CLI Reference

config web-proxy url-match

config web-proxy url-match

URLs to be exempted from caching and/or to be redirected to forward server.

config web-proxy url-match
    Description: URLs to be exempted from caching and/or to be redirected to forward server.
    edit <name>
        set status [enable|disable]
        set type [simple|wildcard|...]
        set url-pattern {string}
        set url-list {string}
        set forward-server {string}
        set ftp-forward-server {string}
        set cache-exemption [enable|disable]
        set comment {var-string}
    next
end

config web-proxy url-match

Parameter

Description

Type

Size

Default

name

Configure a name for the URL to be exempted.

string

Maximum length: 63

status

Enable/disable URLs to be exempted from caching and/or to be redirected to forward server.

option

-

enable

Option

Description

enable

Enable exempting the matching URLs.

disable

Disable exempting the matching URLs.

type

URL type (simple, wildcard, list).

option

-

simple

Option

Description

simple

Simple URL string.

wildcard

Wildcard URL string (only '*').

list

URL list.

url-pattern

URL pattern to be exempted from caching and/or to be redirected to forward server.

string

Maximum length: 511

url-list

URL list to be exempted from caching and/or to be redirected to forward server.

string

Maximum length: 63

forward-server

Forward server name.

string

Maximum length: 63

ftp-forward-server

ftp forward server name.

string

Maximum length: 63

cache-exemption

Enable/disable exempting this URL pattern from caching.

option

-

disable

Option

Description

enable

Enable exempting this URL pattern from caching.

disable

Disable exempting this URL pattern from caching.

comment

Comment.

var-string

Maximum length: 255

config web-proxy url-match

config web-proxy url-match

URLs to be exempted from caching and/or to be redirected to forward server.

config web-proxy url-match
    Description: URLs to be exempted from caching and/or to be redirected to forward server.
    edit <name>
        set status [enable|disable]
        set type [simple|wildcard|...]
        set url-pattern {string}
        set url-list {string}
        set forward-server {string}
        set ftp-forward-server {string}
        set cache-exemption [enable|disable]
        set comment {var-string}
    next
end

config web-proxy url-match

Parameter

Description

Type

Size

Default

name

Configure a name for the URL to be exempted.

string

Maximum length: 63

status

Enable/disable URLs to be exempted from caching and/or to be redirected to forward server.

option

-

enable

Option

Description

enable

Enable exempting the matching URLs.

disable

Disable exempting the matching URLs.

type

URL type (simple, wildcard, list).

option

-

simple

Option

Description

simple

Simple URL string.

wildcard

Wildcard URL string (only '*').

list

URL list.

url-pattern

URL pattern to be exempted from caching and/or to be redirected to forward server.

string

Maximum length: 511

url-list

URL list to be exempted from caching and/or to be redirected to forward server.

string

Maximum length: 63

forward-server

Forward server name.

string

Maximum length: 63

ftp-forward-server

ftp forward server name.

string

Maximum length: 63

cache-exemption

Enable/disable exempting this URL pattern from caching.

option

-

disable

Option

Description

enable

Enable exempting this URL pattern from caching.

disable

Disable exempting this URL pattern from caching.

comment

Comment.

var-string

Maximum length: 255