Using mod_limitipconn to limit connections

Using mod_limitipconn to limit connections

Posted by: Gathilas
Posted on: 2009-06-09 13:41:00

I'm trying to use mod_limitipconn but I've run into some problems.

This is the only thing I could find on the wiki about it. http://wiki.dreamhost.com/Apache_HTTP_Server

This is what I have in my .htaccess:
<IfModule mod_limitipconn.c>
<Location />
MaxConnPerIP 3
</Location>
</IfModule>

All I get is a 500 server error. Any help would be appreciated.

Thanks,
Gath

Re: Using mod_limitipconn to limit connections

Posted by: Gathilas
Posted on: 2009-06-10 08:02:00

To add to the info, the error log displays this:

/home/username/domain.com/.htaccess: <Location not allowed here

and if I remove the location and try to set it globally it just displays

/home/username/domain.com/.htaccess: MaxConnPerIP not allowed here

Does this mean that this feature is not available to me?

Tags: htaccesswiki