The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Allow Resellers to Access WHM Plugin

Discussion in 'cPanel Developers' started by raonaveed, Apr 24, 2010.

  1. raonaveed

    raonaveed Member

    Joined:
    Nov 30, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

    I am doing a plugin for our company servers in which i want to allow all resellers to access that plugin and use the plugin for root and for reseller with all permissions its working but for all others its showing black page any help why its happening by the way its php based code is below...

    /////////////////////addon cgi/////////////////////////////
    #!/usr/bin/php-cgi
    <?
    #WHMADDON: plugin : plugin
    print "<meta http-equiv=\"refresh\" content=\"0;url=/cgi/plugin/index.php\"/>" ;

    ?>
    /////////////////////////index.php//////////////////////
    <?php

    echo "Hello";

    ?>

    if you notice i am not applying any restrictions in addon but its still not work for all resellers... why?

    Rao
     
    #1 raonaveed, Apr 24, 2010
    Last edited: Apr 24, 2010
  2. leefrom

    leefrom Active Member

    Joined:
    May 27, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Have you tried creating an ACL? I think you may get random-seeming results without it. I would try it as a test, if nothing else.

    You might want to open a ticket about it so we can log in and check it out.

    Something like:

    #ACLS:clustering

    at the top and give all the resellers access to clustering as a test.
     
  3. raonaveed

    raonaveed Member

    Joined:
    Nov 30, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Ok here is the issue...

    1. PHP scripts not working for resellers
    2. .html file if i place its visible for both resellers and Root
     
Loading...

Share This Page