Forum Moderators: mack
My index.html file as welll as a couple of .jpegs on my local site are inside a folder called "Temp". I uploaded the whole "Temp" folder to my web server's root folder (thus creating the path ".../var/www/html/Temp"). Next, I went to my domain name to check out my shiny new index.html page.
However, all I got was the default 404 page. My question ... why isn't the index.html file visible (to the server)? I mean, I uploaded everything correctly!?
Frustrated, I tried the upload process again, only this time selecting index.html and my .jpegs (NOT the whole "Temp" folder). I uploaded the files to the server root ("...var/www/html") and sure enough everything worked out hunky dory (ie. my index.html page and its associated .jpegs were clearly visible when I punched in my domain name's URL).
What the?! Why doesn't the server recognize the Temp folder? I mean, the path is correct so why shouldn't my index.html page display? I'm concerned about this because I want to keep the site as organized as possible ...
Any help appreciated! Cheers!
One thing I noticed in your post was that the directory name "Temp" had a capital T. Judging by the server path you provided, I'm betting you host on a Linux/BSD/Unix box. These operating systems use case-sensitive file names, so a file or directory name of "Test" is different than "test". That might explain the problem because your browser was asking for the directory "test" (lower case) which doesn't exist on your server, since that directory has an upper case T. Try it again, but make sure your folders and files are all using lower case names.
luck,
robert
Thanks guys ... I've figured everything out! However, after contacting my host for support yesterday, they responded by telling me that I had changed a default var setting from 770-something to 700 (or, ahem, something along those lines). This was proving problematic when uploading files. I found this response quite weird... I had no clue what they were talking about (and still don't) and was quite surprised to hear it.
Anyhow, thanks again.