Re: PHP ErrorDocument and Apache Environment Vars
| From: | Rasmus Lerdorf | Date: | Wed, 13 Sep 2000 01:15:22 +0000 |
| Subject: | Re: PHP ErrorDocument and Apache Environment Vars | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16493@lists.php.net to get a copy of this message | ||
Look again, they are there.
You are probably looking for $REDIRECT_REDIRECT_ERROR_NOTES
-Rasmus
On Wed, 13 Sep 2000, Ben Lanson wrote:
> Is it possible to get at the variables that Apaches sets after an error?
> For example, I am setting the ErrorDocument for a 404 error to a php
> script. Now, in the script, I wish to refer to some of the Apache
> variables, at minimum REDIRECT_STATUS and REDIRECT_URL. I haven't been
> able to find them as environment vars, and phpinfo() doesn't know anything
> about them. Is there something that I've forgotten? It seems to me that
> this must be possible, I just can't figure out how!!
>
> Thanks,
> Ben
>
>
>