Re: php3_auto_prepend_file
| From: | Mark Maggelet | Date: | Mon, 11 Sep 2000 23:46:38 +0000 |
| Subject: | Re: php3_auto_prepend_file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16253@lists.php.net to get a copy of this message | ||
On Mon, 11 Sep 2000 14:45:11 -0500 (CDT), Kevin Heflin
(kheflin@shreve.net) wrote:
>I've been trying to use an .htaccess file to force an include on all
>files
>in a certain directory.
>
>The best thing I've seen was a post on the php list to use some of
>the
>php.ini commands in a .htaccess file, so I've tried the following in
>an
>..htaccess file
>
>php3_auto_prepend_file /path/to/my/file/auth.php3
>
>also have tried
>
>php3_auto_prepend_file "/path/to/my/file/auth.php3"
>
>and
>
>PHP_value auto_prepend_file "/path/to/my/file/auth.php3"
>
>
>
>however, when I try this, any attempts at loading the page result in
>this
>error:
>
>Internal Server Error
>The server encountered an internal error or misconfiguration and
>was unable to complete your request
>
>
>Any suggestions ?
is it php3 or php4?
for php4 try:
php_value auto_prepend_file /path/to/my/file/auth.php3
it works for me.
- Mark