Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    3

    Arrow Problem with statmanager.cgi

    When "Statistics Status Summary" is ran from "Statistics Software Configuration" in WHM and the domain of the user chosen contains a hyphen then the result will always show that analog and webalizer are disabled and awstats are enabled regardless of the true actual configuration.

    User stats configuration, /home/USER/tmp/stats.conf, stores details in this format:
    WEBALIZER-SOME-DOMAIN.COM=yes
    ANALOG-SOME-DOMAIN.COM=no
    AWSTATS-SOME-DOMAIN.COM=yes

    The problem lies in /usr/local/cpanel/whostmgr/docroot/cgi/statmanager.cgi at line 952:
    my ( $gen, $dom ) = split( /-/, $stat );

    Using a hyphen (-) to split is wrong as this is only returning SOME into variable $dom

    Hyphens are accepted characters in domain names of all TLD's, even multiple hyphens are allowed.

    statmanager.cgi and stats.conf could be easily modified to use a non domain character, there are plenty to choose from, for example +.,|/^*;:_<>@

  2. #2
    Member
    Join Date
    Aug 2009
    Location
    Houston, Tx
    Posts
    275

    Post Stat Manager

    Hello,

    I apologize for the issue you have run into, and I will take care to make sure it is looked into. Thank you for giving us this information, it is observant customers that help us keep such a great product on the market.

    Thank you,
    Matthew Curry

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 05-19-2011, 08:16 AM
  2. cgi-sys/defaultwebpage.cgi problem! Help!
    By howie7teen in forum New User Questions
    Replies: 1
    Last Post: 02-17-2011, 07:10 PM
  3. fast cgi / cgi problem..bit urgent
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-16-2005, 07:10 PM
  4. Replies: 0
    Last Post: 02-14-2005, 10:49 PM
  5. new day, new problem: no .cgi runs (outside cgi-bin)
    By kosmo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-03-2002, 08:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube