Skip to content

Commit abfa305

Browse files
authored
Simplify .htaccess IndexIgnore/DirectoryIndex
There are no files at all for most of these patterns, and favicon.ico + favicon.gif + robots.txt would only exist in the root, where there is an index file and IndexIgnore as no effect.
1 parent 3d93e0f commit abfa305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

whatwg.org/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ AddType image/gif .gif
1414
# Indexing Options
1515
IndexOptions DescriptionWidth=* NameWidth=* FancyIndexing FoldersFirst ScanHTMLTitles
1616
# also add SupressHTMLPreamble once we use HeaderName and some fancy CGI
17-
IndexIgnore .htaccess *~ .#* #*# CVS .svn favicon.ico favicon.gif robots.txt
18-
DirectoryIndex index index.cgi index.xml index.html index.txt
17+
IndexIgnore .htaccess
18+
DirectoryIndex index index.html
1919
ReadmeName README
2020

2121
# set up the README files to be plain text

0 commit comments

Comments
 (0)