Ik heb net op een apache server mod_throttle geinstalleerd.
Dit werkt op zich goed, van de hoofdsite worden alle hits mooi geteld e.d.
Nu wil ik alleen per user ook een limiet instellen, hier wil mod_throttle alleen niet aan meewerken.
stukje van httpd.conf
apache modules:
suexec bestaat idd niet, maar dat is volgens mij geen probleem.
Dit werkt op zich goed, van de hoofdsite worden alle hits mooi geteld e.d.
Nu wil ik alleen per user ook een limiet instellen, hier wil mod_throttle alleen niet aan meewerken.
stukje van httpd.conf
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| #===============================================
# Apache modules
#===============================================
LoadModule php4_module libexec/libphp4.so
LoadModule throttle_module libexec/mod_throttle.so
#================================================
# Throttle config
#================================================
<IfModule mod_throttle.c>
<Location /throttle-status>
SetHandler throttle-status
</Location>
<Location /throttle-me>
SetHandler throttle-me
</Location>
<Location /~*/throttle-me>
SetHandler throttle-me
</Location>
</IfModule>
ThrottleUser knight volume 1G 4w |
apache modules:
code:
1
2
3
4
5
6
7
8
9
10
| Compiled-in modules: http_core.c mod_log_config.c mod_mime.c mod_dir.c mod_userdir.c mod_access.c mod_auth.c mod_so.c suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec |
suexec bestaat idd niet, maar dat is volgens mij geen probleem.