- Abussi Technical Blog - http://managedsystemservices.co.uk -
Enabling directory listing on a linux web host
Posted By Paul On 05/02/2009 @ 04:07 pm In Web Hosting | No Comments
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
Article printed from Abussi Technical Blog: http://managedsystemservices.co.uk
URL to article: http://managedsystemservices.co.uk/2009/02/05/enabling-directory-listing-on-a-linux-web-host/
Click here to print.