I found the solution to my problem at this website:

https://forum.bytemark.co.uk/viewtopic.php?pid=2072

Basically, any VirtualHost entries that are defined in the httpd.conf
file need to have a :80 at the end of them.  i.e.:

<VirtualHost *>

to

<VirtualHost *:80>

-Rob

-----Original Message-----
From: Dege, Robert C. 
Sent: Wednesday, February 28, 2007 11:53 AM
To: 'modssl-users@modssl.org'
Subject: Invalid method in request

Hi,

I have a 64bit RHEL3 box that I'm trying to configure SSL on.  After
making the appropriate modifications to the httpd.conf file, I restarted
the service, & tested out the setup.

I can get to the site using http://mysite.com:443 (not in secure mode),
but not https://mysite.com.  I get an error message in the logs that
says "Invalid method in request !!!"

Any help would be appreciated.

Red Hat Enterprise v.3 (64bit)
httpd-2.0.46, mod_ssl-2.0.46
openssl-0.9.7a, openssl096b-0.9.6b


Code from httpd.conf file:
==========================

Listen 0.0.0.0:443

<VirtualHost _default_:443>
DocumentRoot "/var/www/html"
ServerName www.mysite.com
SSLEngine On

SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/conf/ssl/cert.pem
SSLCertificateKeyFile /etc/httpd/conf/ssl/server.key
SSLCACertificateFile /etc/httpd/conf/ssl/DigiCertSecurityServicesCA.crt


SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>


-Rob
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to