since the configuration of apache 2 has been split into several files instead of http.conf, I can't get directory listing working. I already found such a question, but it didn't fit to my problem:

Why is Apache ignoring the "Options Indexes" directive?

I'm using Ubuntu 10.04 with Apache/2.2.14 and I already looked for these possibilities:

  1. Apache can read its directory root
  2. no .htaccess in directory root
  3. The listing of other directories is working. Only the root directory can not be listed.
  4. There are no other directory settings which configure the same directory.
  5. There is no welcome.conf file

Here is my sites-enabled/000-default config file

    <VirtualHost *:80>
 ServerAdmin webmaster@localhost
 ServerName localhost
 DocumentRoot /home/http
 <Directory />
  Options FollowSymLinks
  AllowOverride None
 <Directory /home/http/*>
  Options +Indexes +FollowSymLinks +MultiViews +ExecCGI +Includes
  AllowOverride None
  Order allow,deny
  allow from all
  AddType text/html .shtml
  AddHandler server-parsed .shtml
  AddOutputFilter INCLUDES .shtml

 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 <Directory "/usr/lib/cgi-bin">
  AllowOverride None
  Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  Order allow,deny
  Allow from all

 ErrorLog /var/log/apache2/error.log

 # Possible values include: debug, info, notice, warn, error, crit,
 # alert, emerg.
 LogLevel warn

 CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from ::1/128


What else can I do?


Try changing <Directory /home/http/*> to <Directory /home/http>.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.