#33867 [Com]: auto_prepend_file doesn't work in httpd.conf
ID: 33867
Comment by: csaba at alum dot mit dot edu
Reported By: t4 at wks dot ch
Status: No Feedback
Bug Type: *Directory/Filesystem functions
Operating System: FreeBSD
PHP Version: 4.3.11
New Comment:
I have tested this on my system with the 2005 Aug 31 version of PHP
5.0.1 / Apache 2.0.53 / Win XP Pro and cannot reproduce the problem. I
can both disable what is in the php.ini with
PHP_value auto_prepend_file none
or override it with
PHP_value auto_prepend_file c:/phplib/prepend_file.php
Previous Comments:
------------------------------------------------------------------------
[2005-08-03 01:00:05] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-07-26 17:40:51] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Can't reproduce it with 4.4.0.
------------------------------------------------------------------------
[2005-07-26 17:16:51] t4 at wks dot ch
Description:
------------
Auto_prepend_file in .htaccess works:
httpd.conf: AccessFileName .htaccess
.htaccess: Php_value auto_prepend_file
/absolute_path/prepend_file.php
Auto_prepend_file in httpd.conf doesn't work:
httpd.conf: <Directory /documentroot/path/>
httpd.conf: Php_value auto_prepend_file
/absolute_path/prepend_file.php
httpd.conf: </Directory>
Expected result:
----------------
The expected result is that /absolute_path/prepend_file.php gets
executed.
Actual result:
--------------
It does not get executed and there's nothing visibile in the errorlog.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33867&edit=1
Thread (3 messages)