Mailing List Archive

[Bug 66374] New: Fixed string comparison doesn't work in <If>
https://bz.apache.org/bugzilla/show_bug.cgi?id=66374

Bug ID: 66374
Summary: Fixed string comparison doesn't work in <If>
Product: Apache httpd-2
Version: 2.4.54
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: michael@orlitzky.com
Target Milestone: ---

After pulling most of my hair out, I've narrowed this down to the following
hard-to-believe example in a vhost context:

<If "'www' == 'x'">
Error "www and x are equal"
</If>

# /etc/init.d/apache2 reload
* apache2 has detected an error in your setup:
AH00526: Syntax error...:
www and x are equal

Wat?

I gather this has something to do with <If> being evaluated at runtime, but I
think most people would agree that this example is absurd.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org