View Full Version : 404 error on a page that exists
connito
03-01-2008, 01:48 PM
i was trying to access a directory with just domain.com/folder and i get this 404 error. i checked my ftp to see if the file was there and it was. there IS a index.php file in the directory and for some reason i asked a lot of my friends to try to access it and they also get the 404 error. i don't have the set homepage thing in my htaccess so i don't know why it's doing that. this also happened to one of my subdomains. can anybody tell me why its doing that?
redsox9
03-01-2008, 02:08 PM
It shouldn't be necessary to add anything to your .htaccess file; servers usually assume that any file labeled index is the default file. Of course, you could add the line to your .htaccess file and see if that does help!
DirectoryIndex index.php
Of course, index.php can be replaced by filename.html, index.cgi, or any other file, or you can list several files in order of preference.
Basil
03-01-2008, 04:41 PM
How about a link to the problem?
connito
03-02-2008, 08:35 AM
i contact bluehost and now its fixed :P
jansportw
03-05-2008, 11:17 PM
out of curiosity what was the problem?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.