https://issues.apache.org/bugzilla/show_bug.cgi?id=56503

            Bug ID: 56503
           Summary: Ifdefine analysis and variable replacments are in
                    wrong order
           Product: Apache httpd-2
           Version: 2.4.9
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]

When a variable is not defined and surounded by a IfDefine (on this variable),
a warning is raised, which is not relevant.

This warning should not appear.
The IfDefine-section have to dropped, in front of the variable replacment. (i
think)

Here a simple example.
servername_sso is not defined for this configuration.

# Config
<IfDefine servername_sso>
  <VirtualHost *:80>
    # intern
    ServerName                 ${servername_sso}
    RedirectMatch permanent    ^/$ /auth/login/ssointern
    RedirectMatch permanent    ^/auth/login$ /auth/login/ssointern
  </VirtualHost>
</IfDefine>

# ErrorMessage
[core:warn] [pid 7482] AH00111: Config variable ${servername_sso} is not
defined

-- 
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]

Reply via email to