Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Default page order in the Shared & Semi-Dedicated forum
G'day, File names like default.htm, default.html, index.htm, index.html, index.php are commonly used as the first file to be loaded when a user hits a web ...

  1. #1
    JPC Addict lloyd_borrett's Avatar
    Join Date
    May 2004
    Location
    Melbourne, Australia
    Posts
    132

    Default page order

    G'day,

    File names like default.htm, default.html, index.htm, index.html, index.php are commonly used as the first file to be loaded when a user hits a web directory.

    On an IIS server I know how to specify the priority or order ranking of those files. For example, load index.htm before index.html before index.php.

    I'm assuming there is a way to do that with Apache server.

    Is there a global default order setting for all Jaguar web servers that we all inherit, and if so what is it?

    Can we customise the order in our web space to suit our own requirements, and if so how?

    Best Regards, Lloyd.

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    There is a default order that is specified in one of the Apache conf files, but since I'm JailShelled, I can't look at that file anymore to tell you what it is. You can, however, set your own list in .htaccess. Just add a line like this:

    Code:
    DirectoryIndex index.php index.html index.htm default.html default.htm home.html
    That will override the server settings for your site and use whatever you specify in the order that you specify.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    The Yellow Dart Brandon's Avatar
    Join Date
    Dec 2002
    Location
    Houston, Texas
    Posts
    154
    Hello,

    This is Apache's default off one of our servers (not sure if its the same on all):

    DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
    Brandon Lawler
    Jaguar Technologies LLC

  4. #4
    JPC Addict lloyd_borrett's Avatar
    Join Date
    May 2004
    Location
    Melbourne, Australia
    Posts
    132
    Thanks guys. That seems to be working for me just fine.

    Best Regards, Lloyd.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •