Have a server that, while reviewing the logs, appears to get hit many many many times a day via the direct ip address by automated scripts looking for vulnerabilities. Entries like:
[Sat Jul 31 17:45:01 2010] [error] [client xxx.xxx.xxx.xxx] script '/var/www/phpMyAdmin' not found or unable to stat
I run a number of virtual servers on this system, but nothing at the direct IP. All of these attempts are resulting in a 404, which is fine, but I'd rather not even have the server respond. Any way to configure, say /sites-available/default to simply drop every request it receives?
Thanks