VarnishAdmin
PHP Manual

VarnishAdmin::banUrl

(PECL varnish >= 0.3)

VarnishAdmin::banUrlBan an URL using a VCL expression

Descrizione

public int VarnishAdmin::banUrl ( string $vcl_regex )

Elenco dei parametri

vcl_regex

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

Valori restituiti

Returns the varnish command status.


VarnishAdmin
PHP Manual