Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

HTML question

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
Kelvin Mace Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-21-06 04:38 PM
Original message
HTML question
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?
Printer Friendly | Permalink |  | Top
ghostsofgiants Donating Member (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.
Printer Friendly | Permalink |  | Top
 
Kelvin Mace Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-21-06 05:46 PM
Response to Reply #1
4. Hmmm.. could be
I'll check that too.
Printer Friendly | Permalink |  | Top
 
ghostsofgiants Donating Member (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.
He knows his shit.
Printer Friendly | Permalink |  | Top
 
Omphaloskepsis Donating Member (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.
Printer Friendly | Permalink |  | Top
 
Kelvin Mace Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-21-06 05:46 PM
Response to Reply #2
3. I'll check
Thanks for the suggestions
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Wed Apr 24th 2024, 03:57 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC