On Tue, Nov 27, 2012 at 10:24:09PM +0530, Kushal Kumaran wrote: > Zachary Uram <net...@gmail.com> writes: > > > Running Apache2 on Debian testing release. Say I have a directory > > http://www.website.org/files/ > > And I want to let a user download a file: > > http://www.website.org/files/example.txt > > But I don't want them to be able to browse the directory and see the > > other files in there. > > So how can I protect the directory? > > > > Turn off the Indexes option for the directory. See documentation for > the Options directive.
For that matter, you can make an index.html that doesn't list anything in there. ./tony -- http://www.tonybaldwin.me all tony, all the time! 3F330C6E
signature.asc
Description: Digital signature