AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > Basic Hosting > Webserver > Thursday, August 28, 2008

DirectoryIndex


The DirectoryIndex is the file that appears first when you specify a Web site or directory without a file name.  For example, when a Website is displayed on your account, the DirectoryIndex page is index.shtml, followed by index.htm, index.html. default.htm and default.html.

To change the order or add a different file name:
  1. Using your favorite text editor, create a file and name it:
    .htaccess
  2. Add the following line to the .htaccess file:

    DirectoryIndex index.htm index.html default.htm default.html
    Note: Replace file_name with the name of the file you want displayed first. You also can add additional directories by adding that directory and file name after file_name.
  3. Upload the file to the html document folder of your FreeBSD Basic account:
    /webdocs/.htaccess



Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design