Tricky Apache configuration bug

When using Apache’s DirectoryIndex directive make sure you don’t separate the values with commas. If you do, Apache will be looking for filenames ending in commas!

# Incorrect
DirectoryIndex index.html, index.php, index.cgi

# Correct
DirectoryIndex index.html index.php index.cgi