VarnishAdmin::banUrl

(PECL varnish >= 0.3)

VarnishAdmin::banUrlBan an URL using a VCL expression

说明

public VarnishAdmin::banUrl(string $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.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top