make `prefregex` more precise in order to avoid catch the content for non failure lines

pull/2088/head
sebres 2018-03-19 14:38:47 +01:00
parent 8763cf0a36
commit 185cb998e7
1 changed files with 3 additions and 3 deletions

View File

@ -19,11 +19,11 @@ before = apache-common.conf
script = /\S*(?:php(?:[45]|[.-]cgi)?|\.asp|\.exe|\.pl) script = /\S*(?:php(?:[45]|[.-]cgi)?|\.asp|\.exe|\.pl)
prefregex = ^%(_apache_error_client)s <F-CONTENT>.+</F-CONTENT>$ prefregex = ^%(_apache_error_client)s <F-CONTENT>(?:(?:AH0(?:01(?:28|30)|1(?:264|071)): )|(?:(?:[Ff]ile|script|[Gg]ot) )).+</F-CONTENT>$
failregex = ^(?:(?:AH001(?:28|30): )?File does not exist|(AH01264: )?script not found or unable to stat): <script>\b failregex = ^(?:(?:AH001(?:28|30): )?[Ff]ile does not exist|(AH01264: )?script not found or unable to stat): <script>\b
^script '<script>\S*' not found or unable to stat ^script '<script>\S*' not found or unable to stat
^(?:AH01071: )?Got error 'Primary script unknown\\n' ^(?:AH01071: )?[Gg]ot error '[Pp]rimary script unknown\\n'
ignoreregex = ignoreregex =