50Webs Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2018, 01:32:43 PM

Login with username, password and session length
Search:     Advanced search
66282 Posts in 10368 Topics by 6939 Members
Latest Member: southpal01
* Home Help Search Login Register
+  50Webs Forum
|-+  50Webs Services
| |-+  Support questions (Paid plans).
| | |-+  Preventing directory listing
« previous next »
Pages: [1] Go Down Print
Author Topic: Preventing directory listing  (Read 5662 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"=-
Rose1812
Noobie
*
Posts: 15


View Profile
« Reply #1 on: November 29, 2017, 02:22:19 AM »

Preventing directory listings can be very useful if for example, you have a directory containing important '.zip' archive files or to prevent viewing of your image .
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!