Re: protecting web directories in apache2
Zachary Uram <netrek@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.
--
regards,
kushal
Reply to: