mod_ftp do not work on Apache 2.4.1
That's lovely. "Does not work" is not descriptive. You observed something please report what it is you observed. That's descriptive. Reopen with those comments if you like.
httpd.exe: Syntax error on line 177 of C:/Program Files/Apache Software Foundati on/Apache2.4/conf/httpd.conf: Cannot load C:/Program Files/Apache Software Found ation/Apache2.4/modules/mod_ftp.so into server: Could not locate a specific procedure. httpd.conf line 177: LoadModule ftp_module modules/mod_ftp.so
use latest build 0.9.6 from http://www.idg.pl/mirrors/apache//httpd/binaries/win32/mod_ftp-0.9.6-beta-win32-x86.zip
Simply clarifying... you rebuilt? No module built against 2.2 will run within httpd 2.4.
Unfortunately I do not know how to modify module to work with 2.4 ...and I do not know how to compile :( request: can you publish mod_ftp.so (win32) 0.9.6 running under Apache 2.4.x?
The ASF has yet to publish a 'binary' for win32 whatsoever. Please go back to whomever built you 2.4 httpd binaries for a mod_ftp compilation. Further questions along these lines belong on users@httpd.apache.org
OK, so I'll change this to mod_ftp does not build against 2.4.x. It's the changes in the API between 2.2 and 2.4. A lot of minor request_ip\request_addr stuff but the core_filter_ctx stuff causes a big problem, for me. ftp_commands.c ftp_commands.c(1313) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1350) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1355) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1361) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1876) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1876) : error C2198: 'stricmp' : too few arguments for call ftp_commands.c(1881) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1928) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_commands.c(1928) : error C2198: 'stricmp' : too few arguments for call ftp_commands.c(1933) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_connection.c ftp_data_connection.c ftp_data_connection.c(248) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_data_connection.c(248) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_data_connection.c(248) : error C2168: 'strcmp' : too few actual parameters for intrinsic functio n ftp_data_connection.c(252) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_data_connection.c(252) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_data_connection.c(285) : error C2027: use of undefined type 'core_filter_ctx' C:\Apache24\include\http_core.h(693) : see declaration of 'core_filter_ctx' ftp_data_connection.c(285) : error C2027: use of undefined type 'core_filter_ctx' C:\Apache24\include\http_core.h(693) : see declaration of 'core_filter_ctx' ftp_data_connection.c(286) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_connection.c(288) : error C2037: left of 'tmpbb' specifies undefined struct/union 'core_fil ter_ctx' ftp_data_connection.c(289) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_connection.c(290) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_connection.c(290) : error C2198: 'apr_brigade_create' : too few arguments for call ftp_data_connection.c(294) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_connection.c(294) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_connection.c(294) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_connection.c(294) : error C2037: left of 'b' specifies undefined struct/union 'core_filter_ ctx' ftp_data_filters.c ftp_filters.c ftp_inet_pton.c ftp_limitlogin.c ftp_limitlogin.c(206) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_limitlogin.c(313) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_log.c ftp_lowportd.c ftp_message.c ftp_message.c(59) : error C2039: 'remote_addr' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec' ftp_message.c(59) : error C2198: 'apr_getnameinfo' : too few arguments for call ftp_message.c(74) : error C2039: 'remote_ip' : is not a member of 'conn_rec' c:\apache24\include\httpd.h(1056) : see declaration of 'conn_rec'
mod_ftp svn now builds against 2.4.x. Still reviewing all of the impacts of the behavior changes in httpd 2.4.x and trunk which could impact mod_ftp's connection vs. data request handling, but this ticket can be closed. Any 1.0.x release would support 2.4 at last, 0.9.x predated the release of httpd 2.4 so shouldn't be expected to have worked.