Apache2 Invalid method in request \x16\x03\x01


Apache2 reports an error “Invalid method in request \x16\x03\x01”
Check that the IP address is correct in line #8 of /etc/apache2/sites-available/www.example.com

<VirtualHost *:80>
     ServerAdmin webmaster@seleads.com
     ServerName www.example.com
     ServerAlias example.com
     Redirect 301 http://example.com http://www.example.com/
     DocumentRoot /var/www/www.example.com/
</VirtualHost>
<VirtualHost 199.199.199.199:443>
        SSLEngine on
        ServerName example.com
        SSLCACertificateFile /etc/apache2/ssl/PrimaryRootCA.crt
        SSLCertificateChainFile /etc/apache2/ssl/Thawte_DV_SSL_CA_Bundle.crt
        SSLCertificateFile /etc/apache2/ssl/example.crt
        SSLCertificateKeyFile /etc/apache2/ssl/private/example.key
        DocumentRoot /var/www/www.example.com/
</VirtualHost>

You may also like...