VarnishAdmin::banUrl

(PECL varnish >= 0.3)

VarnishAdmin::banUrlBan an URL using a VCL expression

Description

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

Parameters

vcl_regex

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

Return Values

Returns the varnish command status.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/varnishadmin.banurl.php