Bluehost.com Web Hosting $6.95

restrict folder content access

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....


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2006
Anonymous
 
Posts: n/a
Default restrict folder content access

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
  #2 (permalink)  
Old 04-13-2006
Jim Patterson
 
Posts: n/a
Default Re: restrict folder content access

-----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-----
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0