November 18, 2017, 01:58:26 PM
  Print  
Author Topic: Preventing directory listing  (Read 5403 times)
sawanbanna
Administrator
Experienced Member
*****
Posts: 7607

View Profile WWW
« on: July 06, 2006, 10:16:34 PM »

if you want to "Disable directory file list view" on 50webs server paid plans, you mush use this option on .htaccess
Quote
IndexIgnore *


the * means all files

you can specify any file types from viewing for example:
Quote
IndexIgnore *.gif *.jpg

This would return a list of all files not ending in .jpg or .gif, but would still list .txt, .html, etc.

please avoid to use
Quote
Options +Indexes

and
Quote
Options -Indexes

because 50webs server disable this option by default...otherwise you will get the error message something like this:
Code:
Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500
www.sawanbanna.com
Thu Jul 6 04:25:01 2006
Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.2b1 mod_ssl/2.0.54 OpenSSL/0.9.7e


hope this will help all paid plans users.

Thank you for using 50Webs hosting... :-D
Logged

Best Regards,
sawanbanna
50Webs Support Volunteer

-="DO NOT ADJUST YOUR MIND, THERE IS A FAULT IN REALITY"=-
  Print  
 
Jump to: