>Number: 3844 >Category: os-aix >Synopsis: Unable to process <Directory> and <Location> tags >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Feb 5 09:20:00 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.4 >Environment: AIX homemart 3 4 00FFFFFF4C00 AIX 4.3.1 Compiler: CSet 3.6.4 using xlC >Description: Apache fails to start if there are any <Directory> or <Location> tags in any config file, including the default httpd.conf error message: Expected </Directory> but saw </Directory> or Expected </Location> but saw </Location>
The pointer compare in the function in the http_core.c: end_nested_section always fails. Compiler: CSet 3.6.4 using xlC with no addition options but what configuration script used >How-To-Repeat: It occurs at startup >Fix: Yes, I made a change to: http_core.c: function: static const char *end_nested_section(cmd_parms *cmd, void *dummy) change: > if (cmd->cmd->name != cmd->end_token) { < if( strcmp(cmd->cmd->name, cmd->end_token) != 0) { this fixed the problem. I sure you can a more effiecient way ;-) >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]