You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/05/19 13:52:44 UTC

DO NOT REPLY [Bug 9229] New: - SSL-virtual host does not work if it is not the first one in http.conf

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9229>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9229

SSL-virtual host does not work if it is not the first one in http.conf

           Summary: SSL-virtual host does not work if it is not the first
                    one in http.conf
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ltsang@gothamrm.com


Setup:
NameVirtualHost *
<VirtualHost *>
ServerName plaintext.host.com
...
</VirtualHost *>
<VirtualHost *>
ServerName ssl.host.com:443
SSLEngine on
...
</VirtualHost *>

Problem:
When I try to access https://ssl.host.com/, I get this in the error-log:
Invalid method in request ~@C^A^C

However, if I switch the order of the two virtual host sections in the 
http.conf, everything works fine.

Note: I am using mpm_worker if that makes a difference.
Server: Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6b DAV/2 configured

-lawrence

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org