Page 1 of 1

How to make CXS not scan files with Zero size?

Posted: 05 Apr 2025, 14:13
by Sergio
Sarah,
What command could I implement in CXS.IGNORE for it to not check files with no content (zero lenght), I mean the file is empty with no code.

In my logs I see a lot of:
cxswatch[2283]: WARNING: '.../index.html' scanned 6 times in the last 30 seconds, you might want to ignore this resource
I have created an MD5SUM and it didnt' work and I can't add an ignore file name as any index.html with code inside will not be checked.

Your advice is appreciated.

Regads,
Sergio

Re: How to make CXS not scan files with Zero size?

Posted: 21 Apr 2025, 13:59
by Sergio
As an alternative way to fix this I have done the following:

If index.html (or any other file) is showing the error:
cxswatch[2283]: WARNING: '.../index.html' scanned 6 times in the last 30 seconds, you might want to ignore this resource
I add 1 byte space, made an MD5SUM and added that code to cxs.ignore and now it is working.

Hope ConfigServer could fix the code to not check Zero lenght files, that will be great.

Regards,
Sergio