[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Mod_throttle question
- Subject: RE: [cobalt-developers] Mod_throttle question
- From: "Alexander Povargo" <alpo@xxxxxxxxxxxxxxxxxx>
- Date: Fri Aug 9 13:19:00 2002
- Organization: ALVO Business Solutions, Corp.
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi,
> It's password protected, so the clients cannot access the 'throttle-
> status' page...
I saw you about 'throttle-status' which is not need for client. Instead,
you need want to disable client access to this page, because this page
allows to clients reset theirs statistic.
Second, when you will use suggested description,
<Location /admin/.my-server_statistic>
SetHandler throttle-status
</Location>
password protection will not be affected to
http://www.yourdomain.com/admin/.my-server_statistic or another specific
path you describe in Location directive. Try and see...
> problem is that both 'throttle-status' and 'throttle-me' just give
> 404s
I have mod_throttle installed and working on two our RaQ4i without any
problem. Please look into my configuration of mod_throttle from
httpd.conf:
---------- httpd.conf ----------
...........
# after all previous LoadModule:
LoadModule throttle_module modules/mod_throttle.so
...........
# after commented #AddModule:
AddModule mod_throttle.c
...........
# before VirtualHost sections:
ThrottlePolicy {directive of common server policy}
# for example: ThrottleClientIP 200 Request 200 2m
#inside your administration web site VirtualHost directive:
...........
<Location /throttle-status>
SetHandler throttle-status
</Location>
...........
#inside client's web site VirtualHost directive:
...........
ThrottlePolicy {directive of client policy}
# for example: ThrottlePolicy Volume 25G 30d
<Location /throttle-me>
SetHandler throttle-me
</Location>
...........
Save httpd.conf and restart Apache, when try to
http://www.youradminwebsite.com/throttle-status for main server status
page and http://www.clientwebsite.com/throttle-me for client's data
Hope it will helping to you.
BTW, again suggest to change /throttle-status to another non-default
path to disable client access to main server statistic.
>
>
> Mr. Michele Neylon
> Blacknight Solutions - affordable linux hosting
> http://www.blacknightsolutions.com/
>
Regards,
Alexander Povargo
ALVO Business Solutions, Corp.
alpo@xxxxxxxxxxxxxxxxxx
http://www.yournewhosting.com
ICQ 25639843