https://bz.apache.org/bugzilla/show_bug.cgi?id=66674

            Bug ID: 66674
           Summary: %v ignores SNI and uses first ServerName instead
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_log_config
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Given the following configuration:

  --- conf ---
  CustomLog %v %s my_vlog
  CustomLog ${APACHE_LOG_DIR}/my_vlog my_vlog

  <VirtualHost *:443>
  ServerName aa.example.com
  DocumentRoot /var/www/html
  SSLEngine on
  SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
  SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
  </VirtualHost>

  <VirtualHost *:443>
  ServerName bb.example.com
  DocumentRoot /var/www/html
  SSLEngine on
  SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
  SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
  </VirtualHost>
  --- conf ---

And this request:

  chrome https://bb.example.com/

The result in my_vlog is unexpected:

  --- /var/log/apache2/my_vlog --
  bb.example.com 200
  aa.example.com 408  <-- shouldn't this be bb.example.com 408 ?
  --- /var/log/apache2/my_vlog --

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