Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

slipper

macrumors 68000
Original poster
Nov 19, 2003
1,563
44
OK so i made a custom error page for my website. The error page works fine... except in the sub-directories. What am i doing wrong? :eek:

Thanks
 
Well, how did you set it up? Generally it involves configuring a .htaccess file for Apache servers.
 
Just to make sure, do you consider the root folder the same one where your index.html file for your home page is? That would be the correct place to put it. Have you put a .htaccess file in any of the sub directories that the error page is not working? It can override what you set. Also if you have a link we can look at it may help diagnose the problem.
 
Yes i consider the root directory the directory with index.html

So you are suggesting me to put a .htaccess file and error.html page in every subdirectory? I also have this problem if i make a fake sub-directory. example: google.com/fagag/afgsghh. The error page will not work.
 
So you are suggesting me to put a .htaccess file and error.html page in every subdirectory? I also have this problem if i make a fake sub-directory. example: google.com/fagag/afgsghh. The error page will not work.

No, that's not what I'm suggesting. I wanted to make sure you didn't have any other .htaccess files that could be interfering.

Can you copy and paste what you have in your .htaccess file, and again, if you could provide a link?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.