Author |
|
techy
Joined: 26 May 2012 Posts: 7
|
Posted: Wed 16 Jan '13 20:06 Post subject: mod_limitipconn, how do I install it? |
|
|
Hi,
I'm trying to install this module,
http://www.apachelounge.com/viewtopic.php?t=2923
But can't find any information on how to install it on Win 32bit.
Thanks in advance. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 16 Jan '13 22:46 Post subject: |
|
|
I'm sure it's in the README file but basically;
Code: | LoadModule limitipconn_module modules/mod_limitipconn.so
<IfModule limitipconn_module>
ExtendedStatus On
MaxConnPerIP 10
</IfModule> |
|
|
Back to top |
|
techy
Joined: 26 May 2012 Posts: 7
|
Posted: Wed 16 Jan '13 23:36 Post subject: |
|
|
The windows version is a dll file, and as far I'm aware a dll file can't be placed inside the modul directory. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 17 Jan '13 3:58 Post subject: |
|
|
An Apache module is a dll file, even though it's usually named .so. It's compiled/linked as a dll.
LoadModule limitipconn_module modules/mod_limitipconn.dll |
|
Back to top |
|
techy
Joined: 26 May 2012 Posts: 7
|
Posted: Thu 17 Jan '13 4:08 Post subject: |
|
|
I already tested that ang generates this error.
Code: | The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 142 of C:/xampp/apache/conf/httpd.conf: Cannot load modules/mod_limitipconn.dll into server: The specified procedure could not be found. . |
|
|
Back to top |
|
techy
Joined: 26 May 2012 Posts: 7
|
Posted: Thu 17 Jan '13 4:20 Post subject: |
|
|
I think the error means that the version i'm trying to load isn't compatible with my Apache (2.4).
On this page the author has mentioned testing it on that specific version,
http://dominia.org/djao/limitipconn2.html
Am I missing something? |
|
Back to top |
|
techy
Joined: 26 May 2012 Posts: 7
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 17 Jan '13 5:19 Post subject: |
|
|
The 0.24 source at the original URL has been made to work with Apache 2.4, the binaries there are 0.23. The 0.23.1 module at Apache Haus I modified to work on Apache 2.4 so yes it should work fine, it has for me. |
|
Back to top |
|