index.html not enough?
my website is allmost done, just putting the finishing touches on it. I went to a university computer lab to troubleshoot and found a puzzling problem. at home on my computer and on every other machine i have tried thus far, all i need do is type the url into the browser window http://www.myurl.com, end of story. but on these machines ( and so probably many others ) typing in my url alone prompted an error message saying that the browser could not handle the file type (the file type being, html. ? ) but when i typed in http://www.myurl.com/index.html, then it works. is there a piece of code or backend organization that i am missing.
Suzanne posted this at 22:27 — 18th January 2004.
She has: 5,507 posts
Joined: Feb 2000
provide the url please
also, which browsers/operating systems, please
does http://www.myurl.com/ with the slash work?
tellersix posted this at 22:32 — 18th January 2004.
They have: 3 posts
Joined: Jan 2004
larossastudios.com
osx explorer 5.2.2
thank you
tellersix posted this at 22:33 — 18th January 2004.
They have: 3 posts
Joined: Jan 2004
thing is osx explorer 5.2.2 works fine everywhere else i'v tried it?
Suzanne posted this at 22:43 — 18th January 2004.
She has: 5,507 posts
Joined: Feb 2000
That operating systems doesn't it work on? And browsers? It's only OSX/IE that's the problem?
I have it up without error on OSX/IE and OSX/Safari, both Jaguar.
You could try a fix:
In your .htaccess file, write this:
DirectoryIndex index.html
That should adjust any browser that's seeking a different url?
mjs416 posted this at 13:25 — 23rd January 2004.
They have: 127 posts
Joined: Dec 2003
I had asked a similar problem a while back. What suzanne suggested will work.
antoshka posted this at 05:08 — 23rd January 2004.
They have: 30 posts
Joined: Aug 2003
you can also try other common names:
index.htm
index.php
default.html
default.htm
but as i can see right now your site is working fine. you even got some pop-ups there. thanks! lol
Suzanne posted this at 14:42 — 23rd January 2004.
She has: 5,507 posts
Joined: Feb 2000
If you're editing the httpd.conf, these are important to add. Also home.html, home.htm as other common index files.
However, it wouldn't make sense to add those to an .htaccess file's DirectoryIndex instruction when we have a single known index page, as we only want to point people to that one particular page, we're not trying to cover all the bases just in case we want to add a differently named index file.
taff posted this at 12:20 — 24th January 2004.
They have: 956 posts
Joined: Jun 2001
For what it's worth, you have a block of script outside of your header block. It's doubtful that this is relevant but you never know - valid code is always a good place to start when troubleshooting.
.....
amrod posted this at 20:48 — 6th February 2004.
They have: 26 posts
Joined: Jan 2004
it works on mozilla firebird in windows xp
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.