Re: How do they do that?
| From: | David Otton | Date: | Mon, 18 Aug 2003 03:17:38 +0000 |
| Subject: | Re: How do they do that? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159888@lists.php.net to get a copy of this message | ||
On Sun, 17 Aug 2003 23:13:24 -0400, you wrote:
>I was wondering.
>http://www.php.net/date
>gives me/redirects to:
>http://www.php.net/manual/en/function.date.php
>
>How do they do that?
>What $_post[??] is that? Or is it a sevrer (Apache, I suppose?) thing?
I don't know how php.net does it, but I know how I'd approach it - either a
custom 404 handler which examines the incoming URL and redirects to the
appropriate page, or mod_rewrite. See
http://httpd.apache.org/docs-2.1/mod/core.html#errordocument
and
http://httpd.apache.org/docs/mod/mod_rewrite.html