VarnishAdmin::ban

(PECL varnish >= 0.3)

VarnishAdmin::banBan URLs using a VCL expression

说明

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

参数

vcl_regex

Varnish VCL expression. It's based on the varnish ban command.

返回值

Returns the varnish command status.

相关文章
php domdocument dumps the internal document into a file using html formattingphp map creates a new map using a callable to determine which pairs to includephp sequence creates a new sequence using a callable to determine which values to includephp set creates a new set using a callable to determine which values to includephp cubrid 函数 insert a single element to set type column using oidphp 多字节字符串 函数 perform a regular expression search and replace with multibyte support using a callbackphp 多字节字符串 函数 returns position and length of a matched part of the multibyte regular expression for a predefined multibyte stringphp ncurses 函数 draws a horizontal line in a window at current position using an attributed character and max. n characters longphp pcre 函数 perform a regular expression search and replace using callbacksphp xmlwriter 函数 create new xmlwriter using memory for string outputphp xmlwriter 函数 create new xmlwriter using source uri for outputphp harupage fill current path using nonzero winding number rule then paint the pathphp phar returns whether phar extension supports compression using either zlib or bzip2php phardata compresses the entire tar/zip archive using gzip or bzip2 compressionphp pharfileinfo returns whether the entry is compressed using bzip2php swftext writes the given text into this swftext object at the current pen position using the current font height spacing and colorphp varnishadmin authenticate on a varnish instancephp varnishadmin ban urls using a vcl expressionphp varnishadmin ban an url using a vcl expressionphp varnishadmin set the class timeout configuration param
关注编程学问公众号