The default .htaccess file has the following directive:

# Set the default handler.
DirectoryIndex index.php

Using this on a site that has other subdirectories with 'index.html' instead of 'index.php' will make those directories unreadable. Would it be a trouble to include other files in DirectoryIndex in the default installation of Drupal?

Example:

# Set the default handler.
DirectoryIndex index.php index.html index.htm

Comments

killes@www.drop.org’s picture

Version: 4.7.4 » x.y.z

new features go into devel version.

coreb’s picture

Version: x.y.z » 6.x-dev

moving from x.y.z to 6.x-dev version queue

cburschka’s picture

Makes sense; on the other hand any static sub-directories below Drupal can have their own .htaccess file. Sub-directories override the settings of their parent directories (except for mod_rewrite, which I have learnt works in Mysterious Ways).

scoutbaker’s picture

Version: 6.x-dev » 7.x-dev

What killes said in #1. :)

marcvangend’s picture

So now we postpone to D8?
No wait, somehow this got into D7!

marcvangend’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.