ph1102

Registered
Dec 4, 2014
2
0
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.
 

madmanmachines

Well-Known Member
Nov 28, 2014
94
4
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,
 
Last edited:

ph1102

Registered
Dec 4, 2014
2
0
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.