-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hi, apologies in advance, I haven't really been following this thread, > until I just thought of something now... > > Are you using php? If so, you can set up the 404 error document as a > .php file, and use php set the headers to do whatever you want. You > could set a meta refresh tag, then display a message to the user saying > whatever. After the time you set in the refresh has elasped, it'll drop > the user at your desired destination page. Just a thought, sorry if > it's not what you're looking for. >
Yep , header("Location: index.html") actually works. I'm just wondering some website has such features: %> nc xx.net 80 -vvv GET /hello_from_aaron <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://www.chinaunix.net/hot.shtml">here</a>.</p> </body></html> Very interesting , don't know how it works. PHP Code will return nothing , just redirection. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw5NlQACgkQvf41sEptMqD7dgCeLDikYyyRqxfK23huEfz5uwTZ TUMAoKMzEq4R//NEi3+ROEgbZek7+DjP =9ipY -----END PGP SIGNATURE-----