.htaccess
.htaccess file will give users some server overrides control
Add following lines to .htaccess file:
Options Indexes FollowSymLinks Includes AddType application/x-httpd-cgi .cgi AddType text/x-server-parsed-html .php .php(listing out a directory). Default config is not to list the directory but instead it will send out and error message. For the user to override this type of behavior you will need to add a .htaccess to your web pages. The Web Server read the .htaccess file and will know that you would like to list out the directory structure.
(Other file extensions) dos/windows file extensions are limited to 3 charactors(ie .php) If you are having problems with .php files or other files include the .htaccess file to the web directory.
*********************
(Password Protection with .htaccess file)
Add following lines to .htaccess file:
Options Indexes FollowSymLinks Includes
AddType application/x-httpd-cgi .cgi
AddType text/x-server-parsed-html .php .php
AuthUserFile /export/home/u/username/public_html/.password
AuthGroupFile /dev/null
AuthName Some_Arbu_Name
AuthType Basic
order allow,deny
allow from all
require valid-user
you will need to create the .password file with a program named htpasswd.
to execute htpassword program type
You now will be able to password protect your webpages!
More Features: Web Support : Counter : Web Mail
