restrict folder content access
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Windows > restrict folder content access




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    restrict folder content access  
Anonymous


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-06 05: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





[ Post a follow-up to this message ]



    Re: restrict folder content access  
Jim Patterson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-06 05: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-----





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register