Thread: custom 404 error document
Results 1 to 2 of 2
Related
-
document.getElementById Forum: Javascript Forum
Replies: 0 -
Parse error, parse error unexpected T_variable. Help appreciated! Forum: PHP Forum
Replies: 8 -
DB-Library error: General SQL Server error: Check messages from the SQL Server. Forum: General Discussion
Replies: 0 -
Error MySQL Error: 1064 - subqueries Forum: PHP Forum
Replies: 0
-
05-14-2006, 11:50 AM #1
custom 404 error document
Hello! I was just wondering if someone could tell me what I'm doing wrong here. I'm trying to construct a custom 'file not found' page for the website I'm making. However, this webpage won't be going up online for quite awhile - I'm making the site to organize content I have on my computer and to practice making layouts - the site is simply staying on my computer, where I can view it and/or work on it without wasting bandwith.
The index.html for this site is in the folder C:\site\. I've made a document titled (.htaccess), with this line in it:
ErrorDocument 404 C:\site\error.html
Both (.htaccess) and (error.html) are in the folder C:\site\. The custom error document doesn't work, though - I type in a page that I know doesn't exist, like C:\site\lalala.html, and I get the same old IE error page.
It seemed pretty simple to me, and I'm not sure what I've done wrong. Any help would be very much appreciated.
(If it isn't working because I need a server on my computer, then I currently have phpTriad and can view pages at http://localhost but I'm new with it and I'm not sure what I'm doing or where the error and .htaccess documents would have to go.)
-
05-14-2006, 02:55 PM #2
Re: custom 404 error document
I've not had time to read this, but it looks promising ...
http://www.plinko.net/404/custom.asp
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum