Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get a directory listing

Status
Not open for further replies.

gribbler

Technical User
Sep 21, 2000
1
0
0
CA
What is the config option that will allow the contents of a directory to be listed? [sig][/sig]
 
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.
UserDir public_html#for example

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#for example
DirectoryIndex index.html default.html index.htm default.htm index.shtml

also look at the Directory directive in your documentation.


[sig]<p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href= Aetea Information Technology</a><br>The software required `Windows 95 or better', so I installed Linux.<br>
[/sig]
 
try this
***************************
<Directory [your directory]>
.
.
.
Option Indexes
.
.
.
</Directory> [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top