Page 1 of 1
How to ignore a resource
Posted: 24 Feb 2023, 11:15
by tonerudez
I would like to ignore all error_log under /home/*/public_html/
panoramacharter.ltd
192.168.1.1
Re: How to ignore a resource
Posted: 24 Feb 2023, 22:13
by Sarah
You'd need to create a regular expression to match the files you want to ignore, and use the pfile: keyword in cxs.ignore.
For example, if you want to ignore all files with a name containing "error.log" in any user's public_html directory (or subdirectories of that directory), you could try something like this:
Code: Select all
pfile:\/home\/.*\/public_html\/.*error\.log$
I can't guarantee that this will work, it is just an example. You will need to test it and revise it if it doesn't work. Use a tool such as regex101.com to build or refine your regular expression.
Regards,
Sarah