Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
How to make custom error pages

 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: How to make custom error pages Reply with quote

Hi everyone,

I never noticed this before carefully. But yesterday I stumbled on a very funny and kool error page. This got me wanting to have make one of my own like that. It's usual for the users to make typos and reach a page that does not exist. How can I serve them with a customized, stylised error page of my own, instead of that boring microsoft page. I am really tired of that now after seeing this one.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Tue Aug 24, 04 6:15 am
Back to top
emm View user's profile Send private message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Making custom 404 page the easy way Reply with quote

Yeah, I have seen some kool 404 error pages in my days! If you should check out quantumcloud.com has a kool 404 page too. Just type in any wrong url like www.quantumcloud.com/givemetheerrorpage.htm and you will see it. Again to do it you will need apache with .htaccess enabled. If you have that then it's just a snap. You will need to write something like this in a textpad:

ErrorDocument 401 /forbidden.htm
ErrorDocument 403 /forbidden.htm
ErrorDocument 404 /nofile.htm

Then save it as .htaccess in the root folder of the website. The code above not only works for page not found 404 error but also for 401/403, forbidden page error. You may also want to consult your web host to find out the exact method of doing it.

[http://www.plinko.net/404/area404.asp]

Has many links to some stunning error pages on the web. Gentle smile
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Tue Aug 24, 04 8:51 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Make custom error page Reply with quote

That worked for me. Just out of curiosity. Is there any other way to make custom error pages, besides .htaccess?
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Wed Aug 25, 04 12:10 am
Back to top
emm View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group