Forum Moderators: phranque
I'm running Apache v1.3.29 using mod_rewrite, PHP and MySQL on OpenBSD v3.7 i386.
ACCESS_LOG
"\x80g\x01\x03" 501
ERROR_LOG
Invalid method in request \\x80g\\x01\\x03
At startup of Apache I get a warning notice of "[warn] NameVirtualHost
#*$!.#*$!.xxx.xxx:443 has no VirtualHosts". I have two virtual hosts for port 80 based on IP to ServerName. I then have one virtual host for SSL port 443. I have "NameVirtualHost xxx.xxx.xxx.xxx:80" and
"NameVirtualHost xxx.xxx.xxx.xxx:443".
Any ideas or suggestions how to resolve these problems would be much appreciated.
Thanks.
It simply shows somebody requesting a 'nonsense' URL from your site, and --we infer from the error message-- using an invalid HTTP method. Check your configuration files for constraints on HTTP methods; While you probably want to allow GET, HEAD, and POST, and possibly OPTIONS, PROPFIND, TRACE, and CONNECT, the request may have been made using a method you don't allow, such as PUT, DELETE, etc. The 501-Not Implemented response would be expected. See RFC2616 - Hypertext Transfer Protocol -- HTTP/1.1 [w3.org]
The VirtualHosts warning points to a problem in the server configuration.
Jim