Web Servers on Windows - restrict folder content access

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > April 2006 > restrict folder content access





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author restrict folder content access
Anonymous

2006-04-18, 12:45 am

For folders in my root that do not have index pages I need to know how
to setup Apache 2.0.55 to not show an "Index of" page displaying the
folder contents and make it bring up some other page like access not allowed
Jim Patterson

2006-04-18, 12:45 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anonymous wrote:
> For folders in my root that do not have index pages I need to know how
> to setup Apache 2.0.55 to not show an "Index of" page displaying the
> folder contents and make it bring up some other page like access not
> allowed


Look up "Options Indexes" in the directive reference. Since you don't
want indexes, specify "Options -Indexes" for the root Directory, and it
should carry down to subfolders. You'll get a standard error page then;
it can be customized if you want.

- --
Jim Patterson
Ottawa, Ont
CANADA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEPZ3Y3pdNyWtIEQoRAjKaAKCbORmnJe81
XwbjCEKF1N2qvPIVnQCbBMwP
urid0aVA9x7jXKNiSvQN7QE=
=Lu00
-----END PGP SIGNATURE-----
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com