LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2010, 09:30 AM   #1
luftwaffe
LQ Newbie
 
Registered: Jul 2002
Posts: 19

Rep: Reputation: 0
Apache directory listing problem


I have an apache 2.2.15 server with the following configuration:

<Directory /srv/www/htdocs/site/images>
Options Indexes
Allowoverride None
</Directory>

My problem is that it lists what is below http://site/images and one level below like for example http://site/images/buttons but it does not list underneath so for example http://site/images/buttons/green ends up in an Access Forbidden instead of directory listing.

I tried to add
Order allow,deny
Allow from all
but that was not of any help.

Would someone please tell me what do I need to do so that all subdirectories are listed even if there are 15 levels below?

Thank you
 
Old 09-15-2010, 11:32 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Check permissions of /srv/www/htdocs/site/images/buttons/green and make sure it has the execute bit on:
Code:
chmod +x /srv/www/htdocs/site/images/buttons/green
Regards
 
Old 09-15-2010, 12:10 PM   #3
luftwaffe
LQ Newbie
 
Registered: Jul 2002
Posts: 19

Original Poster
Rep: Reputation: 0
woot, thanks
 
  


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
[SOLVED] RHEL5 Apache Directory Listing for a directory thorinn Red Hat 8 02-02-2010 09:01 AM
Apache Directory Listing problem guillermo Linux - Server 2 08-23-2008 06:43 PM
Apache directory listing krneki Linux - Networking 3 06-17-2006 09:47 AM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
apache 2 directory listing jwatco2001 Linux - Software 5 06-07-2003 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:56 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