You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonathan Laberge <jl...@redboxstudios.com> on 2003/04/23 16:10:54 UTC

[users@httpd] Question about bandwith.

I was wondering if It is possible to set in the httpd.conf a bandwith limit
for multiple virtual hosts, and them being different for every virtual host.

I am running RedHat 8.0 with Apache 2.0.43.

I will rephrase because I tend to be unclear.  Let's say I have two site
www.one.com and www.teo.com.  Is it possible to set a bandwith limit to each
of them, as in let's say 1 Go for one.com and 500 Mo for two.com.

Thank you and have a nice day!


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question about bandwith.

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 23 Apr 2003, Jonathan Laberge wrote:

> On 4/23/03 10:24 AM, "Ben Ricker" <br...@wellinx.com> wrote:
> Yes but not the type of bandwith limitting I am looking for.
>
> They permit to limit the bandwith usage on every connection. I don't want to
> limit that, what I want to limit is the transfer done in a month.

The easiest and most efficient way to do that is by monitoring log files.
You can make a special log that just lists the vhost and file size, then
pipe it to a program that keeps track of it, and lock out users after they
hit a certain amount.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question about bandwith.

Posted by Jonathan Laberge <jl...@redboxstudios.com>.
On 4/23/03 10:24 AM, "Ben Ricker" <br...@wellinx.com> wrote:
Yes but not the type of bandwith limitting I am looking for.

They permit to limit the bandwith usage on every connection. I don't want to
limit that, what I want to limit is the transfer done in a month.

> Go to http://modules.apache.org and do a module search for 'bandwidth'.
> There are several possibilities.
> 
> Ben Ricker
> Wellinx.com
> 
> On Wed, 2003-04-23 at 09:10, Jonathan Laberge wrote:
>> I was wondering if It is possible to set in the httpd.conf a bandwith limit
>> for multiple virtual hosts, and them being different for every virtual host.
>> 
>> I am running RedHat 8.0 with Apache 2.0.43.
>> 
>> I will rephrase because I tend to be unclear.  Let's say I have two site
>> www.one.com and www.teo.com.  Is it possible to set a bandwith limit to each
>> of them, as in let's say 1 Go for one.com and 500 Mo for two.com.
>> 
>> Thank you and have a nice day!
>> 
>> 
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org

-- 

Art visuel, communication, multimédia et internet

Jonathan Laberge
jlaberge@redboxstudios.com

Les Studios RedBox inc.
9643 boul. LaSalle
LaSalle (Québec)
Canada H8R 2N7

www.redboxstudios.com

514 368 3962 bur/off
514 368 9212 tel/fax
514 865 2554 cell/mob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question about bandwith.

Posted by Ben Ricker <br...@wellinx.com>.
Go to http://modules.apache.org and do a module search for 'bandwidth'.
There are several possibilities.

Ben Ricker
Wellinx.com

On Wed, 2003-04-23 at 09:10, Jonathan Laberge wrote:
> I was wondering if It is possible to set in the httpd.conf a bandwith limit
> for multiple virtual hosts, and them being different for every virtual host.
> 
> I am running RedHat 8.0 with Apache 2.0.43.
> 
> I will rephrase because I tend to be unclear.  Let's say I have two site
> www.one.com and www.teo.com.  Is it possible to set a bandwith limit to each
> of them, as in let's say 1 Go for one.com and 500 Mo for two.com.
> 
> Thank you and have a nice day!
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
-- 
Ben Ricker <br...@wellinx.com>
Wellinx.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] lots of redefinitions in exports.c?

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
On Thu, 24 Apr 2003, Arin Komins wrote:

> Hi folks,
>
> I'm experiencing the same bug as
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19229.
>
> (lots of redefinition probs in exports.c)
>
> Is there a resolution?  (other than manually going through exports.c and
> removing the dupes?)
>
> Thanks,
>
> Arin
> --
I assume that you are trying to compile 2.0.45. This exports.c issue shows
up if your crurrent directory path contains a symlink. Set you working
directory to the direct physical path name and this goes away.

i.e
My apache build directory is /home/dodge/src/apache2/httpd-2.0.45

and

/home/dodge/src -> /export/src  (Symlink)

so, cd to /export/src/apache2/httpd-2.0.45 and the problem goes away.


----------------------------------------
"Mon aéroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] lots of redefinitions in exports.c?

Posted by Arin Komins <ak...@midway.uchicago.edu>.
On Thu, 24 Apr 2003, Arin Komins wrote:

:Subject: [users@httpd] lots of redefinitions in exports.c?
:
:Hi folks,
:
:I'm experiencing the same bug as
:http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19229.
:
:(lots of redefinition probs in exports.c)
:
:Is there a resolution?  (other than manually going through exports.c and
:removing the dupes?)
:

Following myself up for a moment:

It was for apache 2.0.45, and the error seems to be related to symlinks.
(the parent of the directory in which I was building httpd was a symlink,
and as a result I ended up with definitions coming from /usr/home/mydir in
addition to /home/mydir.)

Worked around by compiling outside of /home (/usr/home), but still this is
probably a bug.

thanks,

Arin 
-- 
------------------------------------------------------------------
Arin Komins			       	      akomins@uchicago.edu 
Manager of Web Systems Architecture
University of Chicago/ENSS/NSIT			tel: (773)834-4087
1155 E. 60th St. #302B Chicago, IL 60637	fax: (773)702-0559
------------------------------------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] lots of redefinitions in exports.c?

Posted by Arin Komins <ak...@midway.uchicago.edu>.
Hi folks,

I'm experiencing the same bug as
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19229.

(lots of redefinition probs in exports.c)

Is there a resolution?  (other than manually going through exports.c and
removing the dupes?)

Thanks,

Arin
-- 
------------------------------------------------------------------
Arin Komins			       	      akomins@uchicago.edu 
Manager of Web Systems Architecture
University of Chicago/ENSS/NSIT			tel: (773)834-4087
1155 E. 60th St. #302B Chicago, IL 60637	fax: (773)702-0559
------------------------------------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Blocking specific User-Agents

Posted by "Tyler \"Overkill\" Schwend" <ta...@tds.net>.
Thanks very much. For future reference:

<Location /downloads>
        BrowserMatch ^Opera Opera-Only
        Order deny,allow
        Deny From all
        Allow From env=Opera-Only
</Location>

---------
Tyler "[TASF]Overkill" Schwend
"Semper facere bonum, an a amare odium, vita mors."
---
Server operator of [LCGA]Telefragged:
Counter-Strike: telefragged.lynchburg.edu:27015
http://schwend-t.web.lynchburg.edu

> -----Original Message-----
> From: Adam Moffett [mailto:adamlist@clarityconnect.com]
> Sent: Thursday, April 24, 2003 5:07 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Blocking specific User-Agents
>
>
>
> I've never tried it before (and don't intend to), but
> this might work:
>
> <Location /your/site>
> 	BrowserMatch "*MSIE*" i-hate-microsoft
> 	Order deny,allow
> 	Deny From env=i-hate-microsoft
> 	Allow From all
> </Location>
>
> -Adam
> wearer of many hats
>
> >  > -----Original Message-----
> >>  From: Tyler "Overkill" Schwend [mailto:tasf@tds.net]
> >>  Sent: Wednesday, April 23, 2003 7:26 PM
> >>  To: users@httpd.apache.org
> >>  Subject: [users@httpd] Blocking specific User-Agents
> >>
> >>
> >>  How can I force Apache to block any connection attempts by
> >  > certain user agents?
> >  >
>
> -------------------------------------------------------
> --------------
> The official User-To-User support forum of the Apache
> HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Blocking specific User-Agents

Posted by Adam Moffett <ad...@clarityconnect.com>.
I've never tried it before (and don't intend to), but this might work:

<Location /your/site>
	BrowserMatch "*MSIE*" i-hate-microsoft
	Order deny,allow
	Deny From env=i-hate-microsoft
	Allow From all
</Location>

-Adam
wearer of many hats

>  > -----Original Message-----
>>  From: Tyler "Overkill" Schwend [mailto:tasf@tds.net]
>>  Sent: Wednesday, April 23, 2003 7:26 PM
>>  To: users@httpd.apache.org
>>  Subject: [users@httpd] Blocking specific User-Agents
>>
>>
>>  How can I force Apache to block any connection attempts by
>  > certain user agents?
>  >

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Blocking specific User-Agents

Posted by "Tyler \"Overkill\" Schwend" <ta...@tds.net>.
Bump. :-(

---------
Tyler "[TASF]Overkill" Schwend
"Semper facere bonum, an a amare odium, vita mors."
---
Server operator of [LCGA]Telefragged:
Counter-Strike: telefragged.lynchburg.edu:27015
http://schwend-t.web.lynchburg.edu

> -----Original Message-----
> From: Tyler "Overkill" Schwend [mailto:tasf@tds.net]
> Sent: Wednesday, April 23, 2003 7:26 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Blocking specific User-Agents
>
>
> How can I force Apache to block any connection attempts by
> certain user agents?
>
> ---------
> Tyler "[TASF]Overkill" Schwend
> "Semper facere bonum, an a amare odium, vita mors."
> ---
> Server operator of [LCGA]Telefragged:
> Counter-Strike: telefragged.lynchburg.edu:27015
> http://schwend-t.web.lynchburg.edu
>
>
> -------------------------------------------------------
> --------------
> The official User-To-User support forum of the Apache
> HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Blocking specific User-Agents

Posted by "Tyler \"Overkill\" Schwend" <ta...@tds.net>.
How can I force Apache to block any connection attempts by
certain user agents?

---------
Tyler "[TASF]Overkill" Schwend
"Semper facere bonum, an a amare odium, vita mors."
---
Server operator of [LCGA]Telefragged:
Counter-Strike: telefragged.lynchburg.edu:27015
http://schwend-t.web.lynchburg.edu


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question about bandwith.

Posted by "j.travis" <kg...@blowfishnetworks.com>.
I didn't see anyone mention mod_watch yet.  It will watch and report traffic
by virtual host.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question about bandwith.

Posted by Andrea Rossignoli <so...@polin.it>.
Hi,
I'm not sure if this module will answer to your question, I hope so:
http://www.snert.com/Software/mod_throttle/

Thanks,
:-) Andrea

p.s.
I never used it.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question about bandwith.

Posted by Jonathan Laberge <jl...@redboxstudios.com>.
On 4/23/03 10:10 AM, "Jonathan Laberge" <jl...@redboxstudios.com> wrote:
I am sorry I read myself and it still, their is a little information I
forgot to give.  When I talk about bandwith I mean monthly limit...
(mod_throttle not being a solution since I read it up)
> I was wondering if It is possible to set in the httpd.conf a bandwith limit
> for multiple virtual hosts, and them being different for every virtual host.
> 
> I am running RedHat 8.0 with Apache 2.0.43.
> 
> I will rephrase because I tend to be unclear.  Let's say I have two site
> www.one.com and www.teo.com.  Is it possible to set a bandwith limit to each
> of them, as in let's say 1 Go for one.com and 500 Mo for two.com.
> 
> Thank you and have a nice day!
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-- 

Art visuel, communication, multimédia et internet

Jonathan Laberge
jlaberge@redboxstudios.com

Les Studios RedBox inc.
9643 boul. LaSalle
LaSalle (Québec)
Canada H8R 2N7

www.redboxstudios.com

514 368 3962 bur/off
514 368 9212 tel/fax
514 865 2554 cell/mob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org