cPanel API 2 Modules - Mime
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Mime
module manages redirections.
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 -
Mime::list_hotlinks
— This function lists redirects from the cPanel account's .htaccess files. -
cPanel API 2 Functions -
Mime::listhandlers
— This function lists Apache's handlers. -
cPanel API 2 Functions -
Mime::listmime
— This function lists Apache MIME types. -
cPanel API 2 Functions -
Mime::listredirects
— This function lists the cPanel account's redirects. -
cPanel API 2 Functions -
Mime::redirectname
— This function echoes the domain name or ** All Public Domains **. -
cPanel API 2 Functions -
Mime::redirecturlname
— This function echoes the URL or ** All Requests **.