09-20-05 01:51 AM
"Andrew L." <none@nowhere.net> wrote in message
news:5i9ti1lsgn5n7ofscg8vdo6h3pcjhn5oe0@
4ax.com...
>I want to prevent indexing of directories and to keep users from
> trolling the file system with the browser, ie no access outside the
> doc root. Apache 2.0.5.4 on Windows 2k.
Make sure you don't have Indexes set in your Options directive (or just make
sure all your folders have an index page):
http://httpd.apache.org/docs/2.0/mod/core.html#options
This will prevent directory browsing.
People wont be able to browse directories that you haven't made accessible
through your config, so if you don't want them to have access to a
particular part of your hard disk, just make sure that you have no config
options that allow it.
Richard.
[ Post a follow-up to this message ]
|