Author |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Wed 14 Jan '09 20:26 Post subject: link: compiled mod_limitipconn for 64bit |
|
|
Is there some 64bit version available? Also maybe some other module which can limit the max connections per ip..
If not, some tips on how to compile the source for win64 would be great too
Edit:
Here it is:
DOWNLOAD LINK
edit: the file is available on the official module page, so i changed the link.
Last edited by sawo on Fri 21 Jan '11 17:04; edited 4 times in total |
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Tue 03 Feb '09 13:51 Post subject: |
|
|
Noone need this module? |
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Tue 03 Feb '09 21:26 Post subject: |
|
|
Ok, i started compiling the module myself, but i got error at this part of the code. Does anyone have some experience with C++ so we can figure this out? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 04 Feb '09 2:48 Post subject: |
|
|
Which errors do you get? |
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Wed 04 Feb '09 9:38 Post subject: |
|
|
Code: | 1>.\vgz.cpp(308) : error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>.\vgz.cpp(310) : error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type
1>.\vgz.cpp(312) : error C2440: 'initializing' : cannot convert from 'const char *(__cdecl *)(cmd_parms *,void *,const char *)' to 'cmd_func'
1> None of the functions with this name in scope match the target type |
the error lines correspond to lines 3,5 and 7 in the code i posted.
I dont know whats wrong with this code i found some examples of these macros(AP_INIT_TAKE1 etc) but they are exactly as they should be. |
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Wed 04 Feb '09 17:24 Post subject: |
|
|
---
edit:
nvm, i got it compiled in x86, now i have to compile it in x64 |
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Thu 05 Feb '09 20:00 Post subject: |
|
|
Wow, its almost impossible to get help compiling apache. In the past three days it was impossible to get help for the problems i had, but i finally managed to compile this module for win x64.
To me, VS2005 is total garbage and i will probably never use it again. I had to compile everything under command line, because the IDE is complete failure - tons of errors and no help at all.
This is experimental release so there may be some problems. As far i can tell, it works on apache 2.2.11 x64 compiled by blackdot and windows server 2008 x64.
DOWNLOAD LINK |
|
Back to top |
|