Here are the permissions for every directory down to the ones I'm having problems with:
/var 755 owner: root
/var/www 755 owner: www-data
/var/www/html 755 owner: www-data
/var/www/html/images 755 owner: www-data
/var/www/html/funny 755 owner: www-data
DocumentRoot is /var/www/html
Apache is running as www-data
I can access
http://localhost/index.shtml and the other files in the DocumentRoot. I can also access files in all of the subdirectories of the DocumentRoot except /images. I can get
http://localhost/funny/quotes.shtml, but
http://localhost/images/ gives me 403 Forbidden, and
http://localhost/images/any-file-in-here gives me 404 Not Found, apparently because it can't navigate into that directory.
The problem is that the inability to navigate into
http://localhost/images/ makes no sense, because it has the same permissions exactly as
http://localhost/funny/ and that last one works fine.