index page
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: index page

  1. #1

    index page

    yea this is a huge newbie question. but im working with psychojester and were having problems with the index.html... we have it everywhere but it wont show up.. so where exactly do you put it and is there a reason it might not show up? thanks

  2. #2
    AO Antique pwaring's Avatar
    Join Date
    Aug 2001
    Posts
    1,409
    An index.html page is generally shown when you request a directory listing, e.g. http://www.rixort.com/about/ (ok, so that's technically an index.php file, but the principle is the same). So if you had an index.html file in your document root and your site was www.example.org, then that file would be shown whenever anyone requested http://www.example.org (or you could request it manually using http://www.example.org/index.html). Basically, it's there to make remembering URLs easier.

    The only reason I can think of for it not showing up is if your server is configured not to use index.html, or has an alterative file that is higher up in the precedence table. For example, in Apache you could specify that index.htm is used, and if (and only if) that file isn't found then index.html is loaded, then index.php etc.

    What page exactly are you having a problem with?
    Paul Waring - Web site design and development.

  3. #3
    Disgruntled Postal Worker fourdc's Avatar
    Join Date
    Jul 2002
    Location
    Vermont, USA
    Posts
    797
    Another issue might be case sensitivity. If you're using a Microsoft based unit to build the page and name it you're probably mixing cases or shortening the extension (html to htm). The server may be unix based where case matters.

    Try renaming the file to default.html
    ddddc

    "Somehow saying I told you so just doesn't cover it" Will Smith in I, Robot

  4. #4
    its unix based. the top folders are
    .fantasticodata
    .htpasswds
    .neomail
    .spamassassin
    .sqmaildata
    .trash
    etc
    mail
    public_ftp
    public_html
    tmp
    www

    which of these does the default page/index belong???
    thanks

  5. #5
    Senior Member
    Join Date
    Aug 2003
    Posts
    300
    The index.html file seems belongs in the <i>www</i> file.....you can also name it default.html which works just the same (that is for loading on you home page).

    Like stated before, if you are using MS Frontpage make sure that the extensions are lower-case.




    Adiz

  6. #6
    Senior Member
    Join Date
    Aug 2003
    Posts
    300
    Are you using corecomm? That looks like their infrastructure?



    Adiz

  7. #7
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Originally posted here by Deimos326
    its unix based. the top folders are
    .fantasticodata
    .htpasswds
    .neomail
    .spamassassin
    .sqmaildata
    .trash
    etc
    mail
    public_ftp
    public_html
    tmp
    www

    which of these does the default page/index belong???
    thanks
    Are you using Apache and is this the server you configured? Usually public_html is the default location. Make sure it has perms of 711 and the files are 744.
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  8. #8
    Senior Member
    Join Date
    Aug 2003
    Posts
    300
    MSMITTENS IS RIGHT - Are you using Apache and is this the server you configured? Usually public_html is the default location. Make sure it has perms of 711 and the files are 744.
    But, I know that for some servers it is supposed to be put into the www file.


    Adiz

  9. #9
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Depends on who is hosting it and that is the question to be answered.
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  10. #10
    AO Antique pwaring's Avatar
    Join Date
    Aug 2001
    Posts
    1,409
    Originally posted here by adiz
    But, I know that for some servers it is supposed to be put into the www file.


    Adiz
    www is often a symbolic link for public_html, so in theory either should work (this is the case on both hosts that I use). However, as MsMittens points out, public_html is the default and should work.

    default.html will not necessarily work - it all depends on how your web server is configured. My local Apache server won't check for any files other than index.php or index.html (in that order) because they're the only two types of files (other than images and javascript) that I have on them.
    Paul Waring - Web site design and development.

Posting Permissions

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