Fortinet black logo

CLI Reference

web-proxy url-match

web-proxy url-match

Use this command to define URLs for forward-matching or cache exemption.

config web-proxy url-match
    edit {name}
    # Exempt URLs from web proxy forwarding and caching.
        set name {string}   Configure a name for the URL to be exempted. size[63]
        set status {enable | disable}   Enable/disable exempting the URLs matching the URL pattern from web proxy forwarding and caching.
        set url-pattern {string}   URL pattern to be exempted from web proxy forwarding and caching. size[511]
        set forward-server {string}   Forward server name. size[35] - datasource(s): web-proxy.forward-server.name,web-proxy.forward-server-group.name
        set cache-exemption {enable | disable}   Enable/disable exempting this URL pattern from caching.
        set comment {string}   Comment. size[255]
    next
end

Additional information

The following section is for those options that require additional explanation.

status {enable | disable}

Enable (by default) or disable per URL pattern web proxy forwarding and cache exemptions.

url-pattern <string>

The URL pattern.

forward-server <name>

Name of the forward server.

cache-exemption {enable | disable}

Enable or disable (by default) a cache exemption list. When enabled, the specified URL pattern will be exempted from caching.

comment [string]

Optional comments.

web-proxy url-match

Use this command to define URLs for forward-matching or cache exemption.

config web-proxy url-match
    edit {name}
    # Exempt URLs from web proxy forwarding and caching.
        set name {string}   Configure a name for the URL to be exempted. size[63]
        set status {enable | disable}   Enable/disable exempting the URLs matching the URL pattern from web proxy forwarding and caching.
        set url-pattern {string}   URL pattern to be exempted from web proxy forwarding and caching. size[511]
        set forward-server {string}   Forward server name. size[35] - datasource(s): web-proxy.forward-server.name,web-proxy.forward-server-group.name
        set cache-exemption {enable | disable}   Enable/disable exempting this URL pattern from caching.
        set comment {string}   Comment. size[255]
    next
end

Additional information

The following section is for those options that require additional explanation.

status {enable | disable}

Enable (by default) or disable per URL pattern web proxy forwarding and cache exemptions.

url-pattern <string>

The URL pattern.

forward-server <name>

Name of the forward server.

cache-exemption {enable | disable}

Enable or disable (by default) a cache exemption list. When enabled, the specified URL pattern will be exempted from caching.

comment [string]

Optional comments.