Trouble With Custom 404 Error Page

liunx

Guest
I tried the directions on the perl page to get the custom 404 page set up. I made a .htaccess file with the following code...<br />
ErrorRedirect 404 <!-- m --><a class="postlink" href="http://www.mydomain.com/404.html">http://www.mydomain.com/404.html</a><!-- m --> (of course using my actual domain)<br />
<br />
I also tried one with...<br />
ErrorDocument 404 <!-- m --><a class="postlink" href="http://www.mydomain.com/404.html">http://www.mydomain.com/404.html</a><!-- m --> (as seen on htmlgoodies)<br />
<br />
I uploaded the file via FTP to my root directory (same place as my home page right?). Notepad saved the file as .htaccess.txt. I uploaded the file and renamed it to .htaccess . I tried uploading the file in binary and again in ASCII. Of course, I also uploaded the 404.html page as well. I then try to enter a page name spelled wrong and get the plain old 404 error page.The site is on a Unix server. Why isn't this working?<!--content-->Please post this in the server side scripting forum<!--content-->Ooops - Darn newbies. Done.<!--content-->
 
Back
Top