https://bz.apache.org/bugzilla/show_bug.cgi?id=63146
Bug ID: 63146
Summary: Directive Define not work correct inside <If> <ElseIf>
<Else>
Product: Apache httpd-2
Version: 2.4.37
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Define Directive not work correct inside <if> <ElseIf> <Else>. In this sample
the sSection will be "section2", ie even if -d is equal
"/www/section1/%{HTTP_HOST}/www". Always triggerd the last Define Directive
from the list.
…
<If "-d '/www/section1/%{HTTP_HOST}/www'">
Define sSection section1
</If>
<If "-d '/www/section2/%{HTTP_HOST}/www'">
Define sSection section2
</If>
UseCanonicalName Off
VirtualDocumentRoot /www/${sSection}/%0/www
…
This example is equivalent to
…
Define sSection section1
Define sSection section2
UseCanonicalName Off
VirtualDocumentRoot /www/${sSection}/%0/www
…
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]