(PECL varnish >= 0.3)
Ban an URL using a VCL expression
public int VarnishAdmin::banUrl ( string $vcl_regex )
Parameters:
vcl_regex
URL regular expression in PCRE compatible syntax. It's based on the ban.url varnish command.
Returns:
Returns the varnish command status.
Please login to continue.