PHP 7.4.22 Released!

VarnishAdmin::banUrl

(PECL varnish >= 0.3)

VarnishAdmin::banUrlBan an URL using a VCL expression

Descrição

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.

Valor Retornado

Returns the varnish command status.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top