Usage
Support for servers which use cPanel is available by default.
Enable
Rename cfg/plat/cpanel.disabled
to cpanel.toml
to activate.
Disable
Rename cfg/plat/cpanel.toml
to cpanel.disabled
to deactivate.
Config
cPanel accounts can easily be skipped by specifying the username in the SkipAccs
configuration:
SkipAccs = [""]
How does it work?
The cPanel integration first ensures the Targets
regex is properly specified by overriding any existing Targets
definition. The Paths
config variable is not overwritten but is dynamically changed to include all virtual host and relevant temporary paths.
The cPanel API is then used to build paths rather than use native path discovery. This method ensures secondary home directory mounts can be identified.