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:
I'm using Ubuntu 10.04 with Apache/2.2.14 and I already looked for these possibilities:
- Apache can read its directory root
- no .htaccess in directory root
- The listing of other directories is working. Only the root directory can not be listed.
- There are no other directory settings which configure the same directory.
- 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> <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 </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> 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 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>
What else can I do?