From owner-freebsd-questions Fri Oct 20 15:42:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id A4D1837B4C5 for ; Fri, 20 Oct 2000 15:42:07 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 319E71F03; Fri, 20 Oct 2000 15:21:24 -0700 (PDT) Subject: Re: limit bandwidth for users dir In-Reply-To: <4.3.2.7.2.20001020204945.02cd66e0@203.23.200.12> "from Raymond Brighenti at Oct 20, 2000 08:51:36 pm" To: Raymond Brighenti Date: Fri, 20 Oct 2000 15:21:24 -0700 (PDT) Cc: questions@FreeBSD.ORG From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001020222124.319E71F03@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > Possibly something in Apache may do it, but I'd say what your going to have > to do is have the directories on 2 different IP addresses and use something > like Dummynet to restrict the bandwidth to the IP(s) mod_bandwidth (for Apache) can limit bandwidth based on virtual hosts, source addresses, directories, and possibly a few other things. It can be found in 'http://www.apache.org/dist/contrib/modules/1.3/apache-contrib-1.0.8.tar.gz'. Hope this helps Dima > > Ray > > At 09:49 AM 20/10/00 +0200, you wrote: > >Hi! > > > >We have problem with some users and > >want to limit bandwith for them, > >for example: > > > >/www/user1/public_html/ <- good user only text files > >/www/user2/public_html/ <- bad user a lot of movies > > > >Is it possible to limith bandwith for only > >user2's directory ? > > > >I haven't found anything that suit our needs =/ > > > >Best regards > > > >Johan > > > >-- > >Spray Network Services > >Stockholm | Sweden > >Cell: +46(0)708 402 836 > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. If only God would give me some clear sign! Like making a large deposit in my name at a Swiss bank. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message