Description
This function lists the Microsoft® FrontPage® status for each of the account's domains.
Warning:
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
Notes:
- In cPanel & WHM version 11.44, if you uninstalled FrontPage extensions, or if FrontPage was never installed on the server, the server will ignore all FrontPage settings.
- In cPanel & WHM version 11.46 and later, FrontPage extensions are no longer supported. These functions willonly return
'not installed'
or an error message.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
host |
string |
The domain name. |
A valid domain on the cPanel account. |
example.com |
installaction |
string |
Text for the action to install FrontPage on the account. |
|
Install Extensions |
root |
string |
The path to the account's FrontPage extensions. |
A path on the server, relative to the user's home directory. |
example.com |
shortstatus |
string |
A short version of the domain's FrontPage status. |
|
not |
status |
string |
The domain's FrontPage status. |
|
not installed |
uninstallaction |
string |
Text for the action to uninstall FrontPage on the account. |
|
Cleanup Old Extensions |
reason |
string |
A reason for failure. Note: This function only returns areason value if there was an error. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |