cPanel API 2 Modules - Htaccess
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Htaccess
module manages user access to password-protected directories.
Important:
When you enable a non-Standard Node server profile, the system disables API calls associated with that profile's disabled roles.
Available functions
-
cPanel API 2 Functions -
Htaccess::listuser
— This function retrieves a directory's authorized users from the.htaccess
file. -
cPanel API 2 Functions -
Htaccess::listusers
— This function retrieves a directory's authorized users from the.htaccess
file.