PHP - Manual: VarnishAdmin::banUrl
2024-12-22
(PECL varnish >= 0.3)
VarnishAdmin::banUrl — Ban an URL using a VCL expression
$vcl_regex
): int
vcl_regex
URL regular expression in PCRE compatible syntax. It's based on the ban.url varnish command.
Returns the varnish command status.