-
Notifications
You must be signed in to change notification settings - Fork 8
/
pagetsconfig.tsconfig
107 lines (91 loc) · 2.9 KB
/
pagetsconfig.tsconfig
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
mod.brofix {
searchFields {
# check all links in table "pages", fields "media" and "url"
pages = media,url
tt_content = bodytext,header_link,records
}
# do not check these tt_content CTypes (comma separated)
excludeCtype = html
linktypes = db,file,external
check {
doNotCheckContentOnPagesDoktypes = 3,4
doNotCheckPagesDoktypes = 6,7,199,255
doNotTraversePagesDoktypes = 6,199,255
doNotCheckLinksOnWorkspace = 0
}
# check links in hidden records
checkhidden = 0
# default depth when running console command (brofix:checklinks)
depth = 999
# 1: links to hidden records are reported as errors
reportHiddenRecords = 1
linktypesConfig {
external {
headers {
# !!! fill out User-Agent reasonably with at least a working URL to contact information or email,
# e.g.
# User-Agent = Mozilla/5.0 (compatible; Site link checker; +https://gratesturff.com/imprint.html)
#
User-Agent =
Accept = */*
}
timeout = 10
# follow maximum this number of redirects when checking an external link target
redirects = 5
}
}
excludeLinkTarget {
# pid of page where the "exclude" DB records are stored (BE user must have permission for this if they should get
# permission to edit excludes
storagePid = 0
# link types for which exclusions can be added, e.g. external,db
allowed = external
}
linkTargetCache {
# typically used for full recheck
# 2592000 seconds = 30 days
expiresLow = 2592000
# typically use for on-the-fly checking
# 2678400 seconds = 31 days
expiresHigh = 2678400
}
crawlDelay {
# minimum number of second delay between checking URLs of the same domain
seconds = 5
# comma separated list of domains or regeix to not use crawlDelay (should be used for internal sites only!)
# e.g. nodelay = example.org, example.com
# e.g. nodelay = regex:/(.*\.)?example.(org|com)/
nodelay =
}
report {
# URL to documentation (if this should be displayed in the BE module)
docsurl =
# Show "Check links" button
# -1:
# >= 0: show button if depth <= recheckButton
# 9999: always show button
recheckButton = -1
}
mail {
# if we should send mail after checking links with command brofix:checklinks
# values: never | always | any | new
# numeric values are deprecated, use strings
sendOnCheckLinks = always
# should contain email address(es) of recipients
recipients =
# "From" name. If this is empty, $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'] is used
fromname =
# "From" email address. If this is empty, $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromEmail'] is used
fromemail =
# "Reply-To" name
replytoname =
# "Reply-To" email
replytoemail =
subject =
template = CheckLinksResults
language = en
}
custom {
# add custom configuration here
}
}