Turning off directory browsing?


#1

Is it easy to selectively turn off directory browsing? Specifically, if someone (or something) tries to drill down, I’d like them to be presented with (for example) this:

http://www.weblogsinc.com/common/images/

instead of this:

http://scamper.org/pix/

Would disabling directory browsing be a simple matter of toggling something in .htaccess? (Oh, would that it were!) On the other hand, if it’s some Apache thing, then it’s going to be a little beyond me.


#2

Options -indexes
in .htaccess
See also:
https://panel.dreamhost.com/kbase/index.cgi?area=2517