LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2003, 07:00 PM   #1
jwatco2001
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Rep: Reputation: 0
apache 2 directory listing


I have a specific folder on my webserver that i want to be displayed to the screen, is there some way to allow users to browse the contents of that directory? for some reason it is not turned on by default. I would like the be able to control this at the virtual host level.

Last edited by jwatco2001; 06-05-2003 at 07:24 PM.
 
Old 06-05-2003, 07:27 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I believe as long as there is no index.html or whatever file you specified to be the DirectoryIndex, the files will show up as a listing. I could be wrong though but I know when you go to my site and the /images directory it will give a listing of all the files in that directory.
 
Old 06-05-2003, 07:28 PM   #3
jwatco2001
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
hmm... here is what I want, if i go to:

my.domain.com

i want a directory listing of everything that is in the document root. i dont want to have to do a my.domain.com/stuff/

any ideas??

Last edited by jwatco2001; 06-06-2003 at 05:16 PM.
 
Old 06-06-2003, 07:24 PM   #4
jwatco2001
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
bump
 
Old 06-06-2003, 07:48 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
/me senses the mods will be here soon
 
Old 06-07-2003, 06:29 PM   #6
jwatco2001
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I hope thats a good thing.

But what I am wondering is if there is some directive that allows or disallows directory listings. On subfolders it works fine, but i need to view the directory list directly off the DocumentRoot ie. www.domain.com shows it all.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
apache directory listing doralsoral Linux - Software 2 06-15-2005 07:37 AM
apache - directory listing thejackal13 Linux - Software 1 01-05-2005 10:31 AM
Directory Listing with apache aroop Linux - Networking 2 06-02-2004 02:50 AM
how to prevent directory listing in apache ? chuck77 Linux - General 7 12-21-2001 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:57 PM.

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