Results 1 to 5 of 5

Thread: index.html is default, what about index.php?

  1. #1
    Join Date
    Aug 2004
    Posts
    135

    Default index.html is default, what about index.php?

    since we have php support, and index.html is the factory default page
    what will happen if you just delete index.html and rename it and upload it as index.php with some php code in it?
    would this load index.php as the default page?
    or we need to use the refresh thingy for redirect? to index.php?

  2. #2
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Index.php is listed in DirectoryIndex

    So it will work by default

    http://yujinboby.bizhat.com/phpbb/

    My Test phpBB, its working fine with out any redirection.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  3. #3
    Join Date
    Aug 2004
    Posts
    135

    Default

    haha....

  4. #4
    Join Date
    Aug 2004
    Location
    USA
    Posts
    996

    Default

    Pretty much anything with (index) will be Default by Force or (Home) will do to.

  5. #5
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Code:
    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
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

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
  •