This is a discussion on restrict folder content access within the Windows Web Servers forums, part of the Web Server and Related Forums category; For folders in my root that do not have index pages I need to know how to setup Apache 2....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----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 iD8DBQFEPZ3Y3pdNyWtIEQoRAjKaAKCbORmnJe81XwbjCEKF1N 2qvPIVnQCbBMwP urid0aVA9x7jXKNiSvQN7QE= =Lu00 -----END PGP SIGNATURE----- |