I just replaced an old server with 12.04 basic LAMP setup. I realize that even though I've only got ports 80, 443 and ssh open, vulnerabilities in any code (mostly my own) can allow a breach. I used to have magic_quotes running, but the default now seems to have it turned off. I'm reworking the code with some other input filtering, but the logs from last night show some odd entries. I've got a separate access and error log for each site I'm hosting, but for some reason I'm still getting some lines in /var/log/apache2/. These lines concern me because I don't know how/why someone would have been able to even try to access /etc/apache2/htdocs (or what the invalid method requests were or what caused a SIGTERM!):

Code:
[Thu Jun 06 14:46:10 2013] [error] [client ___some_unknown_IP_address____] File does not exist: /etc/apache2/htdocs
[Thu Jun 06 14:46:10 2013] [error] [client ___some_unknown_IP_address____] File does not exist: /etc/apache2/htdocs
[Fri Jun 07 00:46:58 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x80w\x01\x03\x01
[Fri Jun 07 02:10:50 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x80w\x01\x03\x01
[Fri Jun 07 02:57:06 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03\x01
[Fri Jun 07 02:57:06 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03
[Fri Jun 07 02:57:06 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03\x01
[Fri Jun 07 02:57:06 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03
[Fri Jun 07 04:28:51 2013] [notice] caught SIGTERM, shutting down
[Fri Jun 07 04:28:52 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Fri Jun 07 09:11:43 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03\x01
[Fri Jun 07 09:11:43 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03
[Fri Jun 07 09:11:43 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03\x01
[Fri Jun 07 09:11:44 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03
[Fri Jun 07 11:51:37 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03\x01
[Fri Jun 07 11:51:37 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03
[Fri Jun 07 11:51:38 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03\x01
[Fri Jun 07 11:51:38 2013] [error] [client ___some_unknown_IP_address____] Invalid method in request \x16\x03