mod_bandwidth

2002-11-29 Thread Antoine Jacoutot
Hi !

I want to use mod_bandwidth with Apache on Woody.
My configuration should be ok since I cutted and pasted it from a redhat
server
with mod_bandwidth working and enabled.
However, when the server access a directory that is in mod_bandwith
config, I
get the following error in the logs:
[error] (2)No such file or directory: mod_bandwidth : Can't
create/access master
file /var/state/apache/mod-bandwidth/master/8514:2501867

So, I chmod 777 on /var/state/apache/mod-bandwidth/master/, but it still
does
not work.
Am I missing anything ?

Thanks in advance.

-- 
Antoine Jacoutot 
Debian GNU/Linux 
[EMAIL PROTECTED]
http://www.lphp.org
Computers are like air conditioners: 
they stop working properly when you open Windows...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: mod_bandwidth

2002-08-23 Thread Christofer Algotsson

Hi!

mod_throttle works out for me...

Quite simple installation I wanted to bandwidth-limit a certain 
directory... here is how i did it,


LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so

and..

IfModule mod_throttle.c
  ThrottlePolicy none
  ThrottleMaxDelay 10

Location /throttle-status
SetHandler throttle-status
Order deny,allow
Deny from all
Allow from monitor.host
/Location

Location /throttle-me
SetHandler throttle-me
Order deny,allow
Deny from all
Allow from monitor.host
/Location

Location /~*/throttle-me
SetHandler throttle-me
Order deny,allow
Deny from all
Allow from monitor.host
/Location

/IfModule

.. and then 

Directory /some/directory/here

ThrottlePolicy speed 500 1

/Directory

..

The ThrottlePolicy works like this..:

ThrottlePolicy module amount time

So in my case i wanted to limit this directory to 500kbytes per second 
(500kbytes/s ~ 5mbps)

I grabbed a copy of the site (i dont remember the URL) i got the info from..

http://sparklet.com/~royce/throttle/

Hope this helps some,

Yours,
Christofer

 I'm trying to get mod_bandwidth to work with my apache (1.3.26-0woody1)
 
 I've read the info found here (http://www.cohprog.com/mod_bandwidth.html)
 but I still can't seem to make it work.
 
 Anybody had any experience with this magical little non working feature? :)




Re: mod_bandwidth

2002-08-23 Thread Fredrik Steen
* Christofer Algotsson [EMAIL PROTECTED] [020823 12:50]:
 
 Hi!
 
 mod_throttle works out for me...

i did some searches but didn't find any info about mod_throttle on apache 2.x.
is there a port of mod_throttle for apache 2.x?

./fs




mod_bandwidth

2002-08-22 Thread D. Clarke
Hi!

I'm trying to get mod_bandwidth to work with my apache (1.3.26-0woody1)

I've read the info found here (http://www.cohprog.com/mod_bandwidth.html)
but I still can't seem to make it work.

Anybody had any experience with this magical little non working feature? :)

~ Darryl
~ http://www.FlatlineSystems.net/






Re: mod_bandwidth

2002-08-22 Thread Jason Lim
Hi,

We use mod_throttle. Works well... haven't had any problems with it.
Provides everything mod_bandwidth does (I think).

You might want to try that.

Jason
http://www.zentek-international.com/


 Hi!

 I'm trying to get mod_bandwidth to work with my apache (1.3.26-0woody1)

 I've read the info found here
(http://www.cohprog.com/mod_bandwidth.html)
 but I still can't seem to make it work.

 Anybody had any experience with this magical little non working feature?
:)

 ~ Darryl
 ~ http://www.FlatlineSystems.net/




 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]