You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gabor Gombas <go...@inf.elte.hu> on 2000/12/01 17:26:53 UTC

os-aix/6919: Apache cannot parse it's configuration file properly

>Number:         6919
>Category:       os-aix
>Synopsis:       Apache cannot parse it's configuration file properly
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec 01 08:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     gombasg@inf.elte.hu
>Release:        1.3.14
>Organization:
apache
>Environment:
uname -a: AIX pandora 3 4 0042768A4C00
OS maintenance level: 4330-06
Compiler: C for AIX 4.4
>Description:
When trying to start apache, it gives the following error message:
Expected </Directory> but saw </Directory>
>How-To-Repeat:

>Fix:
--- src/main/http_core.c.orig   Thu Nov 30 01:06:56 2000
+++ src/main/http_core.c        Fri Dec  1 17:13:39 2000
@@ -1409,7 +1409,12 @@
      * it's been set up so that checking for two pointers to the same datum
      * is valid here.  And faster.
      */
+    /* Add to the above: and does not work on AIX. */
+#ifndef _AIX
     if (cmd->cmd->name != cmd->end_token) {
+#else
+    if (strcmp(cmd->cmd->name, cmd->end_token)) {
+#endif
        return ap_pstrcat(cmd->pool, "Expected ", cmd->end_token, " but saw ",
                          cmd->cmd->name, NULL);
     }
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]