diff -Naurd build-tree.ORIG/apache_1.3.34/src/modules/proxy/proxy_ftp.c build-tree/apache_1.3.34/src/modules/proxy/proxy_ftp.c
--- build-tree.ORIG/apache_1.3.34/src/modules/proxy/proxy_ftp.c	2003-07-17 18:05:51.000000000 +0200
+++ build-tree/apache_1.3.34/src/modules/proxy/proxy_ftp.c	2003-10-29 11:30:43.000000000 +0100
@@ -601,6 +601,12 @@
         return HTTP_BAD_REQUEST;
     urlptr += 3;
     destport = 21;
+#ifdef EAPI
+    ap_hook_use("ap::mod_proxy::ftp::handler::set_destport",
+		AP_HOOK_SIG2(int,ptr),
+		AP_HOOK_TOPMOST,
+		&destport, r);
+#endif /* EAPI */
     strp = strchr(urlptr, '/');
     if (strp == NULL) {
         desthost = ap_pstrdup(p, urlptr);
