Page 1 of 1

Where to scan issue

Posted: 12 Feb 2018, 07:23
by Linuc
So my issue is the following:

In CXS 8 the very first option is:

What to scan:
If scanning a user, only scan within in the web root (e.g. ~user/public_html/)

Now, WHM Teak Settings has:

"Restrict document roots to public_html" which we have set to "Disabled" on all 25 production servers.

Which means that Addon Domains are created in /home/user/wordpress2 instead of /home/user/public_html/wordpress2

Does this mean that CXS Watch will not scan the Addon Domains not created in the public_html?

Regards

Re: Where to scan issue

Posted: 12 Feb 2018, 11:17
by ForumAdmin
cxs caters for this when scanning using --allusers or --user [account] on cPanel servers. It obtains the document root from the cPanel data files for the users domains and subdomains from /var/cpanel/userdata/[account]/[domain/subdomain]

Re: Where to scan issue

Posted: 12 Feb 2018, 11:46
by Linuc
Do I pass this parameter only when doing a scheduled scan or do I add --allusers in the cxswatch.conf file?

Re: Where to scan issue

Posted: 12 Feb 2018, 11:59
by ForumAdmin
If you need help on how to setup cxs, please use the helpdesk.