#33867 [Opn->Fbk]: auto_prepend_file doesn't work in httpd.conf
ID: 33867
Updated by: tony2001@php.net
Reported By: t4 at wks dot ch
-Status: Open
+Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating System: FreeBSD
PHP Version: 4.3.11
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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)