17 May 2008 Support Center Home How can I change the index listing in a directory? Solution You can change the initial page that is sent to client requests when a directory is accessed by placing the following line into your .htaccess file: DirectoryIndex filename Replace filename with the actual file you wish displayed when someone visits the directory where your .htaccess file exists. By default, the webserver will display a file named index.html. If that does not exist, then it displays index.htm. If that does not exist, then it displays index.shtml Finally, if that does not exist either it displays index.cgi. If there is not index.cgi file either it lists all of the files in the current directory. Article Details Article ID: 93 Created On: 02 Aug 2004 09:55 PM This answer was helpful This answer was not helpful User Comments Add a Comment Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests. Fullname: Email: (Optional) Comments: Back Client Login Billing Email: Password: Remember Me: Search -- Entire Support Site -- Knowledgebase Downloads Article Options Add Comment Print Article PDF Version Email Article Add to Favorites Home | Submit a Ticket | Knowledgebase | News | Downloads Language: English (U.S.)