Apache: Options Indexes ignored by Apache 2.4

If you started using Apache 2.4, you may have noticed auto indexes are not working anymore, Apache seems to ignore the directive and return a 403 Forbidden with the following log line :

If you use fastcgi/php-fpm you may have a 404 File Not found error instead with this log line :

It turns out you now need to disable DirectoryIndex in order to have auto indexes working :

 

2 thoughts on “Apache: Options Indexes ignored by Apache 2.4”

Leave a Reply

Your email address will not be published. Required fields are marked *