apache access control question

来源: 2004-07-27 08:42:27 [旧帖] [给我悄悄话] 本文已被阅读:

how to restrict viewers from reading folder's index. for example, http://www.somesite.com/image/1.jpg can be viewed, but http://www.somesite.com/image is forbidden.

is it done in .htaccess file? or in configer file? how?

有高手吗?