check_http returns 403 Forbidden on fresh Nagios installation

The Nagios check_http command reports a warning on localhost on a fresh Nagios installation, even though I can request http://localhost in a browser. The Welcome page displayed by Apache is an error document though, with HTTP status code 403 Forbidden, rather than 200 OK.