Apache and DirectoryIndex

Friday 11/28/2008  –  Category: Uncategorized

If you're getting this error:

Request exceeded the limit of 10 subrequest nesting

make sure your conf file has the DirectoryIndex variable set correctly. I had accidentally copied a conf for a Rails app that had the line

DirectoryIndex /

which was making Apache not serve the index.html file like it usually does.  Once I got rid of DirectoryIndex everything worked fine.

Leave a Reply