SOLVED: Invalid method in request

I found the solution to my problem at this website:

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

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 [at] 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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=
=3D

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:+e NULL
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 [at] modssl.org
Automated List Manager majordomo [at] modssl.org
degerc [ Do, 01 März 2007 15:59 ] [ ID #1644069 ]
Webserver » gmane.comp.apache.mod-ssl.user » SOLVED: Invalid method in request

Vorheriges Thema: Core dump with mod_ssl
Nächstes Thema: Invalid method in request