LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2009, 10:44 AM   #1
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Rep: Reputation: 0
Fedora 11 - Directory Listing not working


Hello,

I recently installed Fedora 11 and having some problems with Directory Listing. Basically, I want to have a folder that just list the files in there ( so it doesn't have index.html ) so users can download. Follow instructions from Apache web site couldn't make it to work so I'm hoping someone who has the same issue can give me a headup on this. Thanks.
 
Old 09-01-2009, 11:34 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Hi,

You'll need the following in your <Directory /> directive:

Options Indexes FollowSymLinks

cheers

Last edited by kbp; 09-01-2009 at 11:34 AM. Reason: typo
 
Old 09-01-2009, 01:26 PM   #3
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Still the same

Hi,

Added that into the <Directory /> directive and still getting Forbidden 403 when trying to browse the directory.

Regards,
 
Old 09-01-2009, 02:49 PM   #4
vuhuynh
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Solution

It turns out that Apache introduces a new folder call modsecurity.d

After going to the *_50_outbound.conf, I need to remove the line where it blocks directory listing.

Once done, restart the server and it works now.
 
  


Reply



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
ftp directory listing gerna Linux - Newbie 1 08-01-2008 01:19 PM
Fedora Core 8: apache not display directory listing and samba via smbclient can't see vuhuynh Linux - Newbie 1 02-29-2008 08:44 AM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
directory size listing with ls mikemrh9 Linux - General 2 01-05-2005 12:04 PM
Directory Listing mattbeekler Linux - Software 8 07-22-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 AM.

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