Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Plugin Guide/Reference

Discussion in 'cPanel Developers' started by bamnet, Feb 19, 2008.

  1. bamnet

    bamnet Member

    Joined:
    Feb 7, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    I'm looking to create an easy way for users to setup/remove repositories via Cpanel. Currently they can email me and I can run a series of commands to create a repository, and perform the required modifications to httpd.conf (for DAV SVN). I have a few questions related to this development:

    1. Is there a preferred place to put per-user apache conf entries? I've found theres a number of places to put them, such as httpd.conf itself, or the users individual conf are (/usr/local/apache/conf/userdata/std/2/username/svn.conf)

    2. How can I prevent easyApache from erasing all that when I upgrade apache? Does only the httpd.conf file get purged or do the files in the user directories also get blown away?

    3. Where can I find information for creating an application that will show up when users log into their CPanel (essentially to click the create/remove repository buttons)?

    Any help would be greatly appreciated!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    For the EasyApache issues, you may wish to refer to the EA3 documentation available at: http://www.cpanel.net/support/docs/ea/ea3/

    As for adding icons/functionality to the cPanel interface, you would create a cPanel Plug-in. You can use Perl or PHP in addition to API2 and API1 to create your plug-in. Some documentation on how to do this is available at:

    http://www.cPanel.net/plugins/devel
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice