Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-31-2006, 04:06 PM   #1
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Rep: Reputation: 30
.htaccess show index files from a folder

how can I show the content of a directory in apache?
by default it says that accces if forbiden, i don't have root privilege, but just as a user can't i create a .htaccess file to do that ?
i don't know exacly how...

please help!
thank you!
Old 05-31-2006, 04:29 PM   #2
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
You need "Options Indexes" in your apache config. The .htaccess file is usually set for user/password prompt upon seeing a page. For example, if you wanted only certain users to view a page, then use .htaccess.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory index of web folder Swakoo Linux - Newbie 3 06-17-2005 05:28 AM
Apache problem - cannot get index.html file to show nebloof Linux - Software 3 01-15-2005 11:32 PM
index.htm doesn't open instead it show up merlin740 Member Success Stories 2 10-04-2004 01:08 PM
samba does not show folder contents Goma_2 Linux - Networking 0 12-10-2003 05:54 AM
How to make folder index? alexaltair Linux - General 7 11-25-2003 04:54 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration