I get tons of these:
[Thu Jan 14 23:59:06 2010] [error] [client 88.193.93.] Invalid method in request \x16\x03\x01
[Thu Jan 14 23:59:28 2010] [error] [client 88.193.93.] Invalid method in request \x16\x03\x01
[Fri Jan 15 00:01:11 2010] [error] [client 88.193.93.] Invalid method in request \x16\x03\x01
[Fri Jan 15 00:01:40 2010] [error] [client 88.193.93.] Invalid method in request \x16\x03\x01
[Fri Jan 15 00:02:03 2010] [error] [client 88.193.93.**] Invalid method in request \x16\x03\x01
Google says its SSL error but i have no idea whats wrong.
Well, are your users seeing some kind of problem, or did you just happen to notice some errors like the above in your logs?
If your users are seeing a problem, what error are they seeing in their browser?
google also says:
The fix is to specify the port in all of your VirtualHost & NameVirtualHost directives in your apache httpd config.
Users havent sayd anything, just saw that in log.
Ronald, my httpd.conf file is empty.
this configuration file should not be empty…per haps it is called differently on your server.
Well i havent touched it, i have used Virtualmin at start.
I commented out ‘Listen 443’ in /etc/apache2/ports.conf , lets see how it goes.
Yeah, the various distros call their config files different names – CentOS/RHEL use httpd.conf, and Ubuntu/Debian use apache2.conf.
However, I don’t recommend removing port 443 from your ports.conf file
I’d only do that if you don’t want to use SSL at all.
The key isn’t to remove ports, it’s to make sure that anytime an IP address or hostname is mentioned in a NameVirtualHost or VirtualHost definition, it’s also accompanied by a port.
I added this in Apache2.conf
sudo /etc/init.d/apache2 restart
Restarting web server: apache2[Fri Jan 15 14:43:11 2010] [warn] NameVirtualHost *:443 has no VirtualHosts
… waiting .[Fri Jan 15 14:43:13 2010] [warn] NameVirtualHost *:443 has no VirtualHosts
It’s possible that, if your users aren’t seeing any problems, tinkering with the config file may end up breaking more things than it’s fixing
You shouldn’t use “*” for anything in NameVirtualHost or VirtualHosts – you’d want to use explicit IP addresses and hostnames. Same with ports, don’t use a *, use the actual port names.