To add a file or directory to Imunify360's ignore list in cPanel/WHM, follow these steps:
Step 1: Access WHM
- Login to WHM: Use your root credentials to log in to your WHM interface. The URL usually looks something like this:
https://your-server-ip:2087
Step 2: Navigate to Imunify360
- Locate Imunify360: In the WHM dashboard, find and click on "Imunify360" in the left sidebar under the "Plugins" section.
Step 3: Open Ignore List Settings
- Access Ignore List: In the Imunify360 dashboard, click on the "Settings" tab at the top.
- Select Ignore List: In the settings, locate and click on the "Ignore List" option in the sidebar.
Step 4: Add a File/Directory to the Ignore List
- Add File/Directory:
- To ignore a file: Enter the full path to the file you want to ignore. For example:
/home/username/public_html/file_to_ignore.php
- To ignore a directory: Enter the full path to the directory. For example:
/home/username/public_html/directory_to_ignore/
- To ignore a file: Enter the full path to the file you want to ignore. For example:
- Save Changes: After adding the file or directory path, click the "Add" button to save it to the ignore list.
Step 5: Verify the Entry
- Verify Ignored Paths: The paths you added should now appear in the list. Ensure that they are correctly listed.
Step 6: Clear Cache (Optional)
- Clear Imunify360 Cache: If necessary, clear the cache to ensure that the ignore list changes take immediate effect. This option can usually be found in the "Advanced Settings" section.
Step 7: Check the Results
- Verify: You can test whether the file or directory is properly ignored by scanning your server again and checking the logs to ensure that the ignored paths are not being flagged.
By following these steps, you can successfully add files or directories to Imunify360's ignore list through WHM. This can help you prevent false positives or keep certain files or directories out of Imunify360’s scanning process.