Re: PHP.net
| From: | Chris Lambert | Date: | Thu, 06 Sep 2001 03:43:05 +0000 |
| Subject: | Re: PHP.net | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-6275@lists.php.net to get a copy of this message | ||
In your case, it might be better to use mod_rewrite as the 404 requires
writing to an additional log file.
--
Chris Lambert
"Hojtsy Gabor" <goba@mail.digitel2002.hu> wrote in message
news:006601c130a2$8eb0a120$8702a3d5@selma...
| > I noticed you had this in your "Tips and Tricks" section...
| >
| > > Shortcut URLs for the Manual
| > > 08-Mar-2001
| >
| > > You can go directly to PHP manual pages by using a URL such as:
| > http://www.php.net/strlen.
| >
| > and I was wondering how you have managed it on the server side... Is it
| as
| > simple as having each function in a directory by its self (eg strlen),
is
| there
| > some Apache trickery (creating an alias comes to mind) or is it somehow
| > done in PHP?
|
| See the Apache ErrorDocument directive. You can specify one page
| to handle all 404 errors, and then you are able to do such things.
| Are page handling 404 error (like http://www.php.net/echo )
is
| http://www.php.net/error/index.php
|
| Goba [one webmaster@php.net]
|
|