View Full Version : Help! Mod_Throttle blues
HotChilli 03-13-2001, 03:43 PM Hey guys,
I am trying to install mod_throttle-3.1.2 on the Raq3 and have installed the tar files and set the correct defines in the mod_throttle.c file, but when I type in make install, it says this:
[root@epdwdc0003atl2 mod_throttle-3.1.2]# make install
apxs -c mod_throttle.c
make: apxs: Command not found
make: *** [mod_throttle.so] Error 127
can anyone help? This is driving me nuts :-/
I believe that there's no one using mod_throttle here in this forum. I have posted a few threads about the script and no one reply.
allan 03-14-2001, 09:58 AM Actually, I'm using it on our RaQs, and I've been trying to help Anthony for a couple of days with no success. I'm not sure what the difference between his RaQs and ours are. But the standard install does not seem to be working for me on his RaQ.
As a service to this forum, if you all can get us 30 new customers today I'll have to order a new RaQ and then I can document our install procedures :D. Just have the new customers e-mail me directly :D.
HotChilli 03-14-2001, 12:48 PM Originally posted by Donovan
I believe that there's no one using mod_throttle here in this forum. I have posted a few threads about the script and no one reply.
Damn, thats a shame :-/
Did you find a replacement to mod_throttle?
All I want to do is have a page where I can see the bandwidth for every virtual site.
:(
Type in
locate apxs
from your shell prompt and see if you find it -- you need this to compile/link the file into a .so file which Apache can then load as a module
domus 03-14-2001, 03:44 PM try typing like this
/usr/sbin/apxs -c mod_throttle.c
tell me if it helped :)=
MattKD 03-14-2001, 04:08 PM Hi Guys.
I have managed to install mod_throttle now..BUT!
when i goto domain.com/throttle-status, it only shows the status for that individual domain.
How do I get it to display the stats for all of my virtual sites on 1 page?
If you could help, or tell me which command i need in the httpd that would be great :)
Thanks
Matt
allan 03-14-2001, 05:44 PM Within each Virtual Host you need to add the following:
<IfModule mod_throttle.c>
ThrottlePolicy Volume 20G 30d
</IfModule>
<Location /throttle-me>
SetHandler throttle-me
</Location>
Replace 20G with however much data transfer you are going to allow. This will show up in the /throttle-status as well as create a seperate report for the customer that shows up at: http://www.theirdomain.com/throttle-me/
allan 03-15-2001, 01:12 AM I had to an install of mod_throttle today, so I wrote down all of the steps I went through, and put them up on a website.
Moderators...please feel free to delete this if it's too close to self-promotion and I will copy it to my personal site (I've removed my sig for this post).
http://www.allan.org/mod_throttle_raq.html
Hopefully, this will be helpful in getting it installed.
[Edited by uuallan on 03-16-2001 at 11:18 PM]
domus, I typed in that. But then, I still receive an error while trying make install .
something alike with
apxs -i -a -n 'throttle' mod_throttle
apxs not found etc .....
Bla ..
someone please hlpe. .
Chicken 03-16-2001, 10:54 PM uuallan- it would be better if you didn't surround the tutorial with all the v12 stuff, or copied it to the personal site.
allan 03-17-2001, 12:19 AM Originally posted by Chicken
uuallan- it would be better if you didn't surround the tutorial with all the v12 stuff, or copied it to the personal site.
Done :) -- but I added my damned signature back :D.
Cool... I have installed it successfully. :)
Michael-MS 08-04-2001, 09:07 AM Originally posted by uuallan
I had to an install of mod_throttle today, so I wrote down all of the steps I went through, and put them up on a website.
Moderators...please feel free to delete this if it's too close to self-promotion and I will copy it to my personal site (I've removed my sig for this post).
http://www.allan.org/mod_throttle_raq.html
Hopefully, this will be helpful in getting it installed.
[Edited by uuallan on 03-16-2001 at 11:18 PM]
Thought this was interesting:
http://www.version12.net/support/mod_throttle_raq.html
(They could at least credit you :D)
allan 08-04-2001, 10:25 AM Originally posted by mastersites
Thought this was interesting:
http://www.version12.net/support/mod_throttle_raq.html
(They could at least credit you :D)
Both were me :). Chicken recommended I copy it to my personal site -- so it was less like an advertisement.
Michael-MS 08-04-2001, 10:29 AM Oh okay! :D Thanks for the instructions by the way. :)
Michael-MS 08-04-2001, 10:33 AM Also, what happens when a site goes over their bandwidth allowed? Does a page show up saying that they are over the bandwidth allowed or is it up to the admin to suspend the site?
allan 08-04-2001, 10:53 AM You're welcome :).
If you setup an admin page the customer will show up as yellow when they get close to their quote, and red when they are really close. When they hit their quota people will see a message saying the site is down for maintenance.
Michael-MS 08-04-2001, 10:58 AM Is there anyway to preview/edit that message?
Chicken 08-04-2001, 06:43 PM Originally posted by uuallan
Both were me :). Chicken recommended I copy it to my personal site -- so it was less like an advertisement.
And if I didn't tell you then, thank you very much for doing so.
allan 08-04-2001, 09:25 PM Originally posted by mastersites
Is there anyway to preview/edit that message?
It's a standard Apache/Cobalt message, I don't have access to a Cobalt any more. You might want to check in the Cobalt forum to find out where those messages are located.
|