AppConfig and Account DNS Check Plugin Problems
I am having problems trying to get the Account DNS Check app registered with WHM but I am not having any luck. The plugin works if I change WHM -> Tweak Settings -> Allow apps that have not registered with AppConfig to be run when logged in as root or a reseller with the "all" ACL in WHM -> On.
I have setup the following AppConfig file accountdnscheck.conf:
Ran the following command:
I get the following error when trying to access it
Can anyone point me in the right direction? Thanks, Eric
# name
name=addon_acountdnscheck
# Service that will serve this app
service=whostmgr
# Physical path: /usr/local/cpanel/3rdparty/Foo.php
# Literal URL path: $server:$port/$cpsession/3rdparty/Foo.php
url=/cgi/addon_acountdnscheck.cgi
# System user to run process as
user=root
# Required acls
acls=any
# Display name as show in the service ui
displayname=addon_acountdnscheck
# Url to show in the service ui (relative to install path for whm this is cgi/)
entryurl=addon_acountdnscheck.cgiRan the following command:
cd /var/cpanel/apps
/usr/local/cpanel/bin/register_appconfig accountdnscheck.confI get the following error when trying to access it
HTTP error 401
accountdnscheck/index.phpCan anyone point me in the right direction? Thanks, Eric
-
Hello :) Could you let us know what permission/ownership values you have configured for the "addon_acountdnscheck.cgi" file? Thank you. 0 -
Here are the permissions. ll addon_acountdnscheck.cgi -rwxr-xr-x 1 root root 168 Sep 4 14:37 addon_acountdnscheck.cgi* Thanks, Eric 0 -
Please try removing the following entry: entryurl=addon_acountdnscheck.cgi
Let us know if you get the same result. Thank you.0 -
I get the same result with the entryurl removed. Eric 0 -
Can you open a support ticket so we can take a closer look? Submit A Ticket Please post the ticket number so we can update this thread with the outcome. Thank you. 0 -
Ticket # 4338991 has been opened with support. Eric 0 -
The problem was the EntryUrl needed to be ../accountdnscheck/index.php Thanks, Eric 0
Please sign in to leave a comment.
Comments
7 comments