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.

Bandwidth counting problem

Discussion in 'General Discussion' started by ph1102, Dec 4, 2014.

  1. ph1102

    ph1102 Registered

    Joined:
    Dec 4, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Is it possible that bandmin do not count traffic that comes to for example: 122.122.122.1/~account/image.jpg ?
    At my server one user is using that kind of links for his images and traffic do not shows at all nowhere? (I see at my member panel where I have bought machine that traffic goes over 10-20Mbits)

    Bandmin is working fine with regular domain names with all other users.
     
  2. madmanmachines

    madmanmachines Well-Known Member

    Joined:
    Nov 28, 2014
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hi,

    Please see the following documentation on mod_userdir:


    Apache mod_userdir Tweak
    --
    We strongly recommend that you restrict this access for most of your users. When a user accesses a site through the mod_userdir module, the bandwidth does not count against the user who owns the site. Instead, it counts against the user who owns the host through which visitors access the site. In effect, a user could allow visitors to access their site through the mod_userdir module while the traffic counts against another user's bandwidth.
    For example, if you access http://example.net/~username, the bandwidth counts against the host example.net, rather than the user username.
    --

    Thanks,
     
    #2 madmanmachines, Dec 4, 2014
    Last edited: Dec 4, 2014
  3. ph1102

    ph1102 Registered

    Joined:
    Dec 4, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Thanks a lot madmanmachines!
    So, if I get all right, there is no mode to count that kind of traffic, only option is to disable it?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Right, you should enable the Apache mod_userdir Tweak if you want to ensure visitors access websites over the domain names to allow bandwidth calculation.

    Thank you.
     
Loading...

Share This Page