Welcome to the Blackout Audio Techno Forums :: Underground Network.
Results 1 to 7 of 7
  1. #1
    Junior Freak
    Join Date
    Dec 2004
    Location
    Glasgow, Scotland
    Posts
    350

    Default Running your own server/domain.

    If anyone needs help in any aspect if running a server give me a shout.

    I have experience of Linux, DNS servers (namely BIND), FTP and
    HTTP server running (apache, tomcat, FTPD), SSH and SSH tunneling,
    HTTP and SOCKS proxy's (sockd etc). VNC for remote desktop access
    etc.


  2. #2
    Keepin' it Unreal
    Join Date
    Jan 2003
    Location
    Crackpool
    Posts
    2,836

    Default

    Might just need your help mate ;)

    Im looking for a way to cap monthly bandwidth limits on certain directories on multple domain acounts. For example -

    I have 5 acounts, i set up a "download" folder in each of the acounts public_html directories. I want to limit them to 20 gig a month each, but leave the rest of them will full bandwidth.

    I want to be able to do this so i can keep the websites online, and also not go over my servers bandwidth limit, so the heavy downloads (audio mainly) will stop untill the next month.

    The sever is going to be Fredora core 2, running cpanel, and apache. The only way i can think is a script in apache somewhere, but i havent got a clue.

    Can you help?

  3. #3
    Junior Freak
    Join Date
    Dec 2004
    Location
    Glasgow, Scotland
    Posts
    350

    Default

    do you mean you want a cap which limits the uploads out of any
    particular public_html ? or you want to cap someone who is logged
    into the box downloading onto it?


  4. #4
    Keepin' it Unreal
    Join Date
    Jan 2003
    Location
    Crackpool
    Posts
    2,836

    Default

    Capping the public_html for the acounts can be done in cpannel, but i want to be able to cap certain directories within the public_html. For instance, i have in my public_html directory a directory called "web", and i dont want that to be capped, but i also have a directory called "audio" thst i want to cap to a certain amount per month.

    I want to do this so peoples pages will still be online 100% of the time, and only thier high bandwidth stuff will get blocked for the rest of the month.

    I know this can be done with php, but i cant be bothered coding that into every site thats going on I just need a simple way to set this via putty if possible?

    Any ideas would be great mate ;)

  5. #5
    Junior Freak
    Join Date
    Dec 2004
    Location
    Glasgow, Scotland
    Posts
    350

    Default

    im still unsure on which data transfers you are trying to cap ?

    are you trying to cap the downloads from http://www.yourserver.com/~youruser/ through apache itself by other
    people or are you trying to cap your users uploading and downloading
    to the machine through FTP or TFTP etc ?


  6. #6
    Keepin' it Unreal
    Join Date
    Jan 2003
    Location
    Crackpool
    Posts
    2,836

    Default

    hahaha, no no no :lol:

    Im not trying to cap webusers.....

    errr. full explanation coming...

    Lets say i have acounts on my server, with 5 different domains -

    www.hello.com
    www.imagayhairdresser.com
    www.hardmusic.com
    www.mrbishi.com

    They all have thier own webspace on there, each with thier own cpanel. Now what i want to do is be able to cap the monthly incoming/outgoing traffic for a specific folder within each domain, so lets say each of the acounts makes a folder called audio -

    www.hello.com/audio
    www.imagayhairdresser.com/audio
    www.hardmusic.com/audio
    www.mrbishi.com/audio

    I want to cap these direcories because they will be using the most bandwidth. But i dont want anything else to be capped, from the root, to and other directory, so these wouldnt be capped -

    www.hello.com/pages
    www.imagayhairdresser.com/webstuff
    www.hardmusic.com/links
    www.mrbishi.com/flash

    So idealy, when the bandwidth limit gets hit for those directoies, "audio", you wont be able to download anything from them until the next month, (and maybe even forward onto a page letting people know this when they try to download something), but you will still be able to veiw the rest of the sites....

    Hope this explanation is a bit better :lol:

  7. #7
    Junior Freak
    Join Date
    Dec 2004
    Location
    Glasgow, Scotland
    Posts
    350

    Default

    mod_throttle it is then... you can actually install it in conjuntion with cpanel
    il get you on msn

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top