randomjon
02-20-2005, 02:04 PM
im here yet again to ask about something. this time i have a problem with my htaccess. i did what the tutorial told me to do as far as replacing a 404 error page with one i made but it doesn't seem to work. im wondering if it's because i'm a 1and1 home user, i didn't code something right, missed a step. Im almost absolutley sure i didn't a step. also
heres the code i used:
ErrorDocument 404 http://www.randomjon.com/error.html
it's exactly the same as the code on this site except for the web address of course.
it might not work if you have a full URL listed.
try this...
ErrorDocument 404 /error.html
randomjon
02-20-2005, 06:12 PM
no i did that i think that maybe 1and1 might be blocking it. because when i type a wrong link they one of their pages come up.
randomjon
02-20-2005, 06:42 PM
i figured it out. the FTP site was saving it as a .txt file. so i edited it to make it a .htaccess file my whole site goes down. now im wondering if im supposed to make a link back to the htaccess fike from the error page. well if anyone can help pm me.
well, taking off the TXT part is correct.
can you post all of the stuff you have in your htaccess file here so we can see if there is a problem in one of the other lines?
randomjon
02-20-2005, 07:07 PM
ok iv'e figured it out. 1and1 server doesn't want to support .htaccess so to get the file on it i would have to learn a lot of code. thanks any way
MaGiCSuN
02-20-2005, 07:35 PM
if it doesn't want to support it then you simply can't use it.
it needs a .htaccess file, no other way around it :)
Love,
Mirna