-
January 6th, 2004, 12:18 AM
#1
Member
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
-
January 6th, 2004, 12:47 AM
#2
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?
-
January 6th, 2004, 06:20 AM
#3
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
-
January 6th, 2004, 10:26 PM
#4
Member
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
-
January 6th, 2004, 10:38 PM
#5
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
-
January 6th, 2004, 10:40 PM
#6
Are you using corecomm? That looks like their infrastructure?
Adiz
-
January 6th, 2004, 10:40 PM
#7
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.
-
January 6th, 2004, 10:42 PM
#8
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
-
January 6th, 2004, 10:44 PM
#9
Depends on who is hosting it and that is the question to be answered.
-
January 7th, 2004, 01:12 AM
#10
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|