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.

Where are these scripts?

Discussion in 'General Discussion' started by wizade, Aug 31, 2003.

  1. wizade

    wizade Member

    Joined:
    Jun 27, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Logging into WHM apparently takes you to a document root of /usr/local/cpanel/whostmgr/docroot

    In the WHM there are some scripts I want to look at... specifically

    :2086/scripts2/savezone
    editsets
    assignnsip

    They are the targets of form's in the WHM but I cant find them?

    Anyone know where they are?

    cPanel.net Support Ticket Number:
     
  2. samj

    samj Registered

    Joined:
    Mar 1, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Scripts which aren't really scripts...

    I too was looking for these... found them stashed in the 'compiled' whostmgr2 file:

    # strings /usr/local/cpanel/whostmgr/bin/whostmgr2 |grep assignnsip
    assignnsip
    main::assignnsip
    main::doassignnsip
    <b>Assign an ip for a new nameserver</b>:<br><form action=/scripts2/assignnsip>
    var popurl = "/scripts2/assignnsip?nameserver=" + nameserver;

    You're not going to learn much from this unfortunately... but then again even if you did it'd likely change under your scripts causing all sorts of breakage. I'd love to know how to assign a *specific* IP number rather than the next one sequentially. doassignnsip is probably what I'm after - just not sure how to drive it.
     
  3. rickb123

    rickb123 Registered

    Joined:
    Feb 21, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    any resolution to this? I am having the same issue? I wish to specify an IP when running the doassignnsip or assignnsip function..
     
  4. samj

    samj Registered

    Joined:
    Mar 1, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I haven't done anything else with this since, although I will no doubt be picking it up again in the future, especially if someone posts a useful reply to this thread.
     
Loading...

Share This Page