Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2006 at 21:54 UTC
Updated:
15 Mar 2010 at 13:10 UTC
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
Comment #1
killes@www.drop.org commentednew features go into devel version.
Comment #2
coreb commentedmoving from x.y.z to 6.x-dev version queue
Comment #3
cburschkaMakes 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).
Comment #4
scoutbaker commentedWhat killes said in #1. :)
Comment #5
marcvangendSo now we postpone to D8?No wait, somehow this got into D7!
Comment #6
marcvangendFixed in #328155: Make DirectoryIndex tolerant to HTML applications in subdirectories.