Commit f06c4fa8 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Too many users are baffled by this message. Some days even the devs are ;-)

Votes to backport to 2.2 and 2.0?

New resulting message is

bin/httpd -f /dev/null -C "LoadModule ftp_module ../apache22/modules/mod_ftp.so"

Syntax error in -C/-c directive:
API module structure 'ftp_module' in file /usr/local/apache22/modules/mod_ftp.so 
is garbled - expected signature 41503230 but saw 41503232 - perhaps this is not 
an Apache module DSO, or was compiled for a different Apache version?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520733 13f79535-47bb-0310-9956-ffa450edef68
parent 99035a5d
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -268,9 +268,12 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
     *
     */
    if (modp->magic != MODULE_MAGIC_COOKIE) {
        return apr_pstrcat(cmd->pool, "API module structure `", modname,
                          "' in file ", szModuleFile, " is garbled -"
                          " perhaps this is not an Apache module DSO?", NULL);
        return apr_psprintf(cmd->pool, "API module structure '%s' in file %s "
                            "is garbled - expected signature %08lx but saw "
                            "%08lx - perhaps this is not an Apache module DSO, "
                            "or was compiled for a different Apache version?",
                            modname, szModuleFile, 
                            MODULE_MAGIC_COOKIE, modp->magic);
    }

    /*