Info

You are currently browsing the Abussi Technical Blog weblog archives for the day 05/02/2009.

Calendar
February 2009
M T W T F S S
« Sep   Mar »
 1
2345678
9101112131415
16171819202122
232425262728  

Archive for 05/02/2009

Enabling directory listing on a linux web host

If you want a quick way to host some files online without having to write html or get a CMS system running you could just dump the files in a folder and enable directoy listing for that folder as follows -

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.

Source: http://faq.1and1.com/scripting_languages_supported/configuring_apache_server_using_htaccess/3.html

|