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.

相关文章
php vector reduces the vector to a single value using a callback functionphp gd 和图像处理 函数 由文件或 url 创建一个新图象。php gd 和图像处理 函数 从 gd 文件或 url 新建一图像php 多字节字符串 函数 perform a regular expression search and replace with multibyte support using a callbackphp 多字节字符串 函数 regular expression match with multibyte supportphp 多字节字符串 函数 replace regular expression with multibyte support ignoring casephp ncurses 函数 draw a border around the screen using attributed charactersphp ncurses 函数 draw a vertical line at current position using an attributed character and max. n characters longphp pcre 函数 perform a regular expression search and replace using callbacksphp ssh2 函数 authenticate over ssh using a plain passwordphp ssh2 函数 authenticate using a public keyphp imagickdraw sets the opacity to use when drawing using the fill color or fill texturephp phar compresses all files in the current phar archive using bzip2 compressionphp pharfileinfo compresses the current phar entry within the phar using gz compressionphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the regular expression for fragmentingphp varnishadmin ban urls using a vcl expressionphp varnishadmin ban an url using a vcl expressionphp varnishadmin connect to a varnish instance administration interfacephp varnishadmin varnishadmin constructor
关注编程学问公众号