• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • VarnishAdmin::banUrl()

    (PECL varnish >= 0.3)

    Ban an URL using a VCL expression

    说明

    publicVarnishAdmin::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.