-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsample_config.yml
46 lines (46 loc) · 888 Bytes
/
sample_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
host_name: www.example.org
resources:
- /subdir/index.html
match:
- :access_to_under_resources?
- :referred_from_resources?
match_type: any
output_log_name: all-records-related-to-subdir_index
---
host_name: www.example.org
resources:
- /end.html
- /subdir/big.pdf
match:
- :access_to_resources?
match_type: any
output_log_name: access-to-two-specific-files
---
host_name: www.example.org
resources:
- /
match:
- :access_to_under_resources?
match_type: any
ignore_match:
- :access_by_bots?
- :not_found?
output_log_name: all-but-bots-and-not-found
---
host_name: www.example.org
resources:
- /index.html
match:
- :access_to_resources?
- :access_by_bots?
match_type: all
output_log_name: index-page-accessed-by-bot
---
host_name: www.example.net
resources:
- /external.html
match:
- :referred_from_resources?
match_type: all
output_log_name: referred-from-external-site