LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 11 - Directory Listing not working (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-11-directory-listing-not-working-751820/)

vuhuynh 09-01-2009 10:44 AM

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.

kbp 09-01-2009 11:34 AM

Hi,

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

Options Indexes FollowSymLinks

cheers

vuhuynh 09-01-2009 01:26 PM

Still the same
 
Hi,

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

Regards,

vuhuynh 09-01-2009 02:49 PM

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.


All times are GMT -5. The time now is 10:21 PM.