10

我正在尝试设置一个过滤器以仅包含特定目录及其所有子目录的数据。

例如,我想包含dogs目录和子目录中的数据

http://www.mysite.com/dogs/
http://www.mysite.com/dogs/index.htm
http://www.mysite.com/dogs/breeds.htm
http://www.mysite.com/dogs/puppies/
http://www.mysite.com/dogs/puppies/index.htm
http://www.mysite.com/dogs/puppies/care/
http://www.mysite.com/dogs/puppies/care/feeding.htm

创建新过滤器时,我认为我应该Pre-defined filter选择Include only traffic to the subdirectories that begin with子目录/dogs/not case sensitive.

我只是对它应该是that begin with还是有点困惑that are equal to。我that begin with在我的情况下使用是否正确,我的子目录值是否正确?

(我问是因为数据更新需要 24 小时,所以弄错会花费很多时间)

4

1 回答 1

11

事实证明我是对的。要过滤目录和所有子目录,设置应该是

  • 预定义过滤器
  • 仅包括
  • 子目录的流量
  • 开始于
  • /小狗/
  • 不区分大小写
于 2013-03-25T17:19:22.683 回答