Re: ErrorDocument doesn't work for PHP scripts
| From: | Wendell Brown | Date: | Fri, 20 Jun 2003 15:34:04 +0000 |
| Subject: | Re: ErrorDocument doesn't work for PHP scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152313@lists.php.net to get a copy of this message | ||
On Fri, 20 Jun 2003 10:15:43 -0500, Wendell Brown wrote:
>Try it without the:
>
>> php_value auto_prepend_file header.php
>> php_value auto_append_file footer.php
Or check for the existence of the requested file in the header and if
not found, send the 302 header with a forward to your custom page.
If you don't know what the header is supposed to look like, grab a copy
of SamSpade (http://www.samspade.org/ssw/) and use it to view the
headers of a page that is forwarding correctly. BTW, it's FREE!!!!