httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RuneImp" <r...@imptech.net>
Subject Re: mod_throttle working with directory configs??
Date Tue, 22 Jan 2002 05:15:45 GMT
I just checked the mod_throttle page
http://www.snert.com/Software/Throttle/

and it should work within <Directory></Directory> but
I'm wondering what you have for your primary mod_throttle
setup. Do you have something like this in your httpd.conf?

# mod-throttle
<IfModule mod_throttle.c>
        ThrottlePolicy none
        ThrottleMaxDelay 0
        ThrottleRefresh 10

        # This can be text/plain or text/html
        ThrottleContentType text/html

        <Location /throttle-status>
        SetHandler throttle-status
        </Location>

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

        <Location /~*/throttle-me>
        SetHandler throttle-me
        </Location>
</IfModule>

Also, can you go to http://yourdomain.com/throttle-status
and get a listing of domains & there throttle settings?


-=- RuneImp
ImpTech - Web Design, Hosting & Computer Tech
http://imptech.net
rune@imptech.net


----- Original Message ----- 
From: "Mohler, Jeff" <jeff.mohler@netapp.com>
To: <users@httpd.apache.org>
Sent: Monday, January 21, 2002 2:41 PM
Subject: RE: mod_throttle working with directory configs??


Nope..still isnt catching a thing.

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Monday, January 21, 2002 2:38 PM
To: users@httpd.apache.org
Subject: RE: mod_throttle working with directory configs??



> From: Mohler, Jeff [mailto:jeff.mohler@netapp.com]

> Then what do I have wrong in the 2nd definition im using in the
> virtual server?

> > I also have this defined in the virtual server for the alltrac site:
> >
> > <Directory /media>
> > ThrottlePolicy volume 700M 1d
> > </directory>
> >

I don't know mutch about mod_throttle, but that will not work unless /media
is really a directory off the filesystem root.  You probably want <Directory
/usr/home/alltracclub/public_html/media>.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message