IPB

Welcome Guest ( Log In | Register )

[ Outline ] · Standard · Linear+

> Apache webserver question

Sproutme
post Jul 28 2004, 07:44 PM
Post #1


<º))))><
**

Group: Private Member
Posts: 102
Joined: 18-March 04
Member No.: 29



Hi
I just installed Apache webserver and wondering how could i make it to list directories in specific folder That people could see list of mp3 files for example
I need to configure permisions but not shure how.

<Directory /mydirectory>
Options None
AllowOverride None
order allow,deny
deny from all
</Directory>


Thanx for your time


--------------------
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topicStart Poll
Replies
Saint26
post Jul 28 2004, 08:57 PM
Post #2


nFm [ progressor ]
**

Group: Private Member
Posts: 186
Joined: 18-March 04
Member No.: 31



CODE

[B]How do I turn automatic directory listings on or off? [/B]

If a client requests a URL that designates a directory and the directory does not contain a filename that matches the DirectoryIndex directive, then mod_autoindex can be configured to present a listing of the directory contents.

To turn on automatic directory indexing, find the Options directive that applies to the directory and add the Indexes keyword. For example:

<Directory /path/to/directory>
  Options +Indexes
</Directory>

To turn off automatic directory indexing, remove the Indexes keyword from the appropriate Options line. To turn off directory listing for a particular subdirectory, you can use Options -Indexes. For example:

<Directory /path/to/directory>
  Options -Indexes
</Directory>



hXXp://httpd.apache.org/docs/misc/FAQ.html

This post has been edited by Saint26: Jul 28 2004, 08:57 PM


--------------------
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicTopic OptionsStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version Time is now: 3rd July 2025 - 09:25 AM