You are Here: FAQ ->Scripting and Programming Languages->Configuring Apache Webserver using .htaccess->Article #3


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How to allow visitors to view the files in website.(directory or file listing)



1&1 Web hosting packages are setup in such a way that when you go to the a URL,
you get a page displayed. However you can also set up to get a page listing.

To get a folder view please follow these instructions:

1. Create a file named .htaccess. This can be done in any text editor.
Make sure you save the file as .htaccess (a period at the beginning of file name)

2. In the first line of this file type in

Options +Indexes

3. Save the file

4. Now, upload the file to your webspace, specifically the directory in which you
want visitors to see the file listing.


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5