An index of directory is a web server feature (usually Apache) where directory listing is enabled. Instead of a pretty webpage, you see a raw list of files and folders. This is often unintentional by the server owner. Hackers and archivists scan for these to find unprotected files.