httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Barrera A." <Br...@Ivn.cl>
Subject Re: [users@httpd] mod_throttle relaxing restrictions for crawlers
Date Fri, 28 Jan 2005 03:29:32 GMT
Ups.. I'm sorry
My mod is meant for Apache 2. I didnt read that you were using apache 1. 
Sorry about that.

I may implement those functionalities in a future.. but for apache 2. If 
i got some time, i'll try to make it work for apache 1 too.

Dont know if this suits you, but i think i saw a mod_bwshare

Manuel Lemos wrote:
> Hello,
> 
> on 01/27/2005 07:51 PM Ivan Barrera A. said the following:
> 
>> I'm not sure if this is what your asking for, but my mod bw_mod 
>> v0.5rc1 can do bw limiting on a host/ip filesize basis.
>> http://ivn.cl/apache
>>
>> Note that it is a release candidate yet. Although There are some 
>> people using my mod flawlessly on huge servers..
>>
>> It has been tested on Linux/x86.
>> It compiles and work (very little testing) on MacOS X, Solaris, 
>> FreeBSD, on Sparc, Ppc, and x86.
>>
>> It's limited to work on perfork MPM for now. I'm implementing worker, 
>> and windows port soon. (also a MaxConnection per each ip)
> 
> 
> I have tried it but it even did not compile. Are you sure this works 
> with Apache 1.3.33 on Linux/x86? The errors follow below.
> 
> Anyway, despite it may let you limit connections per IP, I wonder if 
> what this module does is what I want.
> 
> First, I could not see a way to monitor the IPs that are being throttle 
> like you can with mod_throttle accessing a special handler page.
> 
> Another this is that this module seems to restrict the number of 
> simulataneous connections. What mod_throttle does is to limit the number 
> of requests per period of time. This is more like what I want. Does your 
> module provide this?
> 
> $ /path/to/httpd/bin/apxs -i -a -c bw_mod-0.5rc1.c
> gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DUSE_EXPAT 
> -I../lib/expat-lite -fpic -DSHARED_MODULE -I/path/to/httpd/include  -c 
> bw_mod-0.5rc1.c
> bw_mod-0.5rc1.c:39:25: apr_buckets.h: No such file or directory
> bw_mod-0.5rc1.c:40:25: apr_strings.h: No such file or directory
> bw_mod-0.5rc1.c:41:24: apr_atomic.h: No such file or directory
> bw_mod-0.5rc1.c:42:21: apr_lib.h: No such file or directory
> bw_mod-0.5rc1.c:43:21: apr_shm.h: No such file or directory
> bw_mod-0.5rc1.c:45:25: util_filter.h: No such file or directory
> bw_mod-0.5rc1.c:46:20: ap_mpm.h: No such file or directory
> apxs:Break: Command failed with rc=1
> 
> 

---------------------------------------------------------------------
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


Mime
View raw message