Portal Home > Knowledgebase > Articles Database > [Question] determin bandwith for folder


[Question] determin bandwith for folder




Posted by tiger15, 09-26-2007, 04:28 PM
Hi for every body here Can I determin spesific bandwith for each folder by any tols or scripts & sorry for my bad language because this is the first time I write post by English

Posted by John[H4Y], 09-26-2007, 08:42 PM
It would probably be easier to setup what you have in these folders under seperate subdomains or with seperate logging. It would be much easier to keep track of bandwidth that way. Otherwise, you would need a stats program or to write a stats program that would pull accesses from the raw log file matching the folder name and then compare the accesses to the file sizes of the html files and graphics being accessed. A perl or bash script would do the trick.

Posted by david510, 09-27-2007, 12:35 AM
Does your server have any control panel installed?

Posted by tiger15, 09-27-2007, 09:34 AM
I'm sorry , but I'm not coder to do that Mr. david510 Yes , it has a cpanel

Posted by John[H4Y], 09-27-2007, 12:26 PM
How about setting them up as seperate subdomains instead? That way, the bandwidth would be calculated seperately.

Posted by tiger15, 09-27-2007, 12:53 PM
Mr. John[H4Y] Maybe you didn't understand me I mean not calculate the bandwidth just I wanna to stop consuming or limited Consuming

Posted by david510, 09-28-2007, 06:16 AM
Enable hotlink protection from cpanel, so that you can prevent bandwidth stealing. Check if images in the webpages are called using absolute url. If yes, change it to serve with absolute path.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
exim problem?? (Views: 656)
data binding question? (Views: 679)