--Original Message Text---
From: Aaron Lewis
Date: Sun, 11 Jul 2010 11:11:16 +0800
-----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
302 Found
Found
The document has moved here.
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-----
Hmmm....
First google hit on:
apache 302 document moved
is:
http://httpd.apache.org/docs/1.3/mod/mod_alias.html
and first hit on:
apache 302 document moved howto
is:
http://httpd.apache.org/docs/1.3/misc/howto.html
That should give you enough to play with.......
*** NOTE *** Please DO NOT CC me. I <am> subscribed to the list.
Mail to the sender address that does not originate at the list server is
tarpitted. The reply-to: address is provided for those who feel compelled to
reply off list. Thankyou.
Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.