PDA

View Full Version : Duplicate permissions--one is 404 one not


Alex Ethridge
07-03-1999, 05:12 PM
I have two HTML files in my WWW folder, one named index.htm and the other named test.htm.[nbsp][nbsp]I looked to see what permissions were set for index and then set test the same.

When typing http://www.mydomain.com/test.htm into my browser's URL field, I get a 404.
When typing http://www.mydomain.com or http://www.mydomain.com/index.htm, the index is displayed in the browser.

If these two files are in the same folder and they have the same permissions set, why would one display in the browser and the other not?

Deb
07-03-1999, 05:19 PM
Your 'HomePage' can be specified with any of the following:
index.shtml, index.shtm, index.html, index.htm, index.php3, index.php

It's a setting on the server's side of things.[nbsp][nbsp]Any of the above names will work with www.yourdomain.com (http://www.yourdomain.com)[nbsp][nbsp]All other files must be called by their names... yourdomain.com/somethingelse.html

Also remember that EVERYTHING is CaSe sensitive.[nbsp][nbsp]If you titled it Test.htm and you try to go to test.htm it will give you a 404

This help?

Deb

Alex Ethridge
07-03-1999, 05:31 PM
I already knew that.

But, why on God's green earth I didn't apply the knowledge, I don't know.[nbsp][nbsp]I've been at this too long.[nbsp][nbsp]I gotta' get some rest so I can again see what I'm looking at.[nbsp][nbsp]Too, I gotta' get me a Linux box, so that when I do these things, it is by habit so I don't make these silly mistakes.