Using mod_limitipconn to limit connections

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.

This is what I have in my .htaccess:

MaxConnPerIP 3

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


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

/home/username/ <Location not allowed here

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

/home/username/ MaxConnPerIP not allowed here

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