Kelvin Mace
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Feb-21-06 04:38 PM
Original message |
|
I though that if you had an index.htm or index.html on a site, that file would load automatically anytime someone typed in the domain name, i.e. www.domainname.com. This is always the way it has worked for me, but now I have a site that give me a page not found if I do that. If I type in the whole URL, i.e. www.domainname.com/index.htm it works fine.
What am I missing here?
|
ghostsofgiants
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Feb-21-06 04:42 PM
Response to Original message |
1. Probably has to do with the default settings on your webserver. |
|
Some servers don't point to index.* automatically, instead they point to something like default.*
index.* is generally the standard though, so it's kind of odd that it wouldn't work.
Also: I could be wrong about that. Been a while since I messed around with webservers.
|
Kelvin Mace
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Feb-21-06 05:46 PM
Response to Reply #1 |
ghostsofgiants
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Feb-21-06 05:48 PM
Response to Reply #4 |
5. I'd recommend taking Omphaloskepsis' advice over mine. |
Omphaloskepsis
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Feb-21-06 05:42 PM
Response to Original message |
2. Does that directory have a file called .htaccess in it? |
|
If it does look for a line like this: DirectoryIndex index.html
If it does you could delete that line and you should go back to the behavior you would normally expect. It could be set server wide so you could create a file called .htaccess and put in the line above.
|
Kelvin Mace
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Feb-21-06 05:46 PM
Response to Reply #2 |
|
Thanks for the suggestions
|
DU
AdBot (1000+ posts) |
Thu Apr 25th 2024, 12:53 AM
Response to Original message |