VarnishAdmin::banUrl

(PECL varnish >= 0.3)

VarnishAdmin::banUrlBan an URL using a VCL expression

Descripción

public VarnishAdmin::banUrl ( string $vcl_regex ) : int

Parámetros

vcl_regex

URL regular expression in PCRE compatible syntax. It's based on the ban.url varnish command.

Valores devueltos

Returns the varnish command status.