Handle errors in Apache.