Re: ErrorDocument doesn't work for PHP scripts
| From: | Wendell Brown | Date: | Fri, 20 Jun 2003 16:30:45 +0000 |
| Subject: | Re: ErrorDocument doesn't work for PHP scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152317@lists.php.net to get a copy of this message | ||
On Fri, 20 Jun 2003 10:34:04 -0500, Wendell Brown wrote:
>>> php_value auto_prepend_file header.php
>>> php_value auto_append_file footer.php
Andy, I've tried the following (with my server info, of course) in one
of my directories and it works like a champ! It doesn't matter if it's
php, htm or html!
----- .htaccess ------
AddType application/x-httpd-php .html
php_value auto_prepend_file
"/spool/web/www.jeamland.org/html/header.php"
php_value auto_append_file
"/spool/web/www.jeamland.org/html/footer.php"
ErrorDocument 404 http://www.jeamland.org/_error.html