Website HostingDomain RegistrationsWebsite ScriptsWebsite TemplatesWeb Hosting AffiliateClient SupportContact Us
Flux Services, Inc.

  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


 Back
 Client Login  
Billing Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | News | Downloads
Language:




All pages Copyright © 2002-2008 by Flux Services, Inc. All rights reserved.
All trademarks used are properties of their respective owners.
Refund Policy  Privacy Statement  Service Agreement