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

http://issues.apache.org/bugzilla/show_bug.cgi?id=27849

ssl and 'Invalid method in request'

           Summary: ssl and 'Invalid method in request'
           Product: Apache httpd-2.0
           Version: 2.0.48
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_ssl
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I've compiled apache 2.0.48 with openssl 0.9.7d.
I have the following strange behaviour:

My virtualhost in port 443 for ssl does not work.
In the logs I get "Invalid method in request".
If I do http://webserver:443 it works ok but it is cleartext 
           ^^^^
Somehow it does not talk SSL.

I am sure that my config files are ok.
I get the same behaviour if i connect to
the apache web site https://httpd.apache.org
                                  ^^^^^
It looks that my site and apache site have the same problem.
As I expected http://httpd.apache.org:443 works and redirects.
You run Apache/2.0.49-dev, I run 2.0.48.
However https://cvs.apache.org/ which is Apache/2.1.0-dev with mod_ssl/2.1.0-dev
works fine.

I have to mention that in both Solaris(x86) and Linux (2.4.25) I get the same
things.

It is strange and I haven't found any similar. Everybody talked about
SSLEngine on and stuff about configuration. My conf files are
checked many many times. I also tried different combinations
of NameVirtualHost and VirtualHosts.

The only config that worked with ssl 
was one virtualhost only like this:

<IfDefine SSL>
Listen 443

NameVirtualHost IP
<VirtualHost IP:443>

DocumentRoot "/usr/admin/www"
ServerName webserver:443

bla bla bla ssl more stuff....
</VirtualHost>

However when it starts it says: 
VirtualHost IP:443 -- mixing * ports and non-* ports with a NameVirtualHost
address is not supported, proceeding with undefined results

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to