Just got a new server and there is a strange problem with Apache. I copied a virtual host from old to the new server:
<VirtualHost *:80> ServerName www.domain.com ServerAlias domain.com *.domain.com DocumentRoot /var/www/domain.com <Directory /var/www/domain.com> Options -Indexes IncludesNOEXEC FollowSymLinks allow from all AllowOverride All </Directory> </VirtualHost>
The problem is that Apache for some reason ignores Options -Indexes and shows directory index in all directories. I can't understand where is the problem. On my old server the same virtual host doesn't show directory index.