Forum Moderators: coopster & phranque

Message Too Old, No Replies

mod_throttle configuration problem

         

boken

9:00 pm on Apr 5, 2003 (gmt 0)

10+ Year Member



Hi!

I have apache: 1.3.37, mod_php, mod_perl, mod_bandwidth (for testing purposes), mod_mp3 and mod_throttle 3.1.2.

I want to slow down speed of download (to 2KiloBytes per 1 Second) in some VirtualHost's directory for all people (0.0.0.0/0).

In httpd.conf:

<VirtualHost>
....
....
<IfModule mod_throttle.c>
ThrottlePolicy none
<Location /throttle-status>
SetHandler throttle-status
</Location>

<Location /throttle-me>
SetHandler throttle-me
</Location>

<Directory "/www/docs/test/tmp">
Options Indexes
ThrottlePolicy Speed 2K 1s
ThrottlePolicy Volume 2K 1s
</Directory>

</IfModule>

...
...
...
</VirtualHost>

... and with no result :-(

ps. mod_throttle is working because i can see [......] etc.

greetz
boken

boken

8:49 am on Apr 6, 2003 (gmt 0)

10+ Year Member



I have found some solutions in mail-archive on snert.com, but it is not working.