ID:               24248
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dkh-php at nighttide dot net
-Status:           Open
+Status:           Feedback
-Bug Type:         *Web Server problem
+Bug Type:         Apache2 related
 Operating System: FreeBSD 4.8-STABLE
 PHP Version:      4.3.2
 New Comment:

Apache2 is not really ready for production. Could you please test and
see if this happens with Apache 1.3.27 ?

And does this happen randomly or..?



Previous Comments:
------------------------------------------------------------------------

[2003-06-18 16:10:40] dkh-php at nighttide dot net

Description:
------------
FreeBSD 4.8-STABLE
Apache 2.0.46
PHP 4.3.2 

PHP being used as module.

User 1 creates an .htaccess file in their dir at
/home/user1/WWW/sub/.htaccess. This file contains php var overides for
auto_prepend_file, auto_append_file, include_path etc.

User 2 has a simple index.php file - html tag, body tag, single text
line followed by a php invocation of phpinfo (happens with other pages
as well) then closing tags. No .htaccess file here.

User 1 stuff in /home/user1/WWW/sub/index.php works as expected

User 2 stuff in /home/user2/WWW/index.php, if loaded immediately after
/home/user1/WWW/sub/index.php will see User 1's auto_prepend_file and
auto_append_file. The local values from the phpinfo invocation shows
User 2's overrides.

Appears as if the apache session (or thread?) that serviced the first
request, doesn't clear out the local overrides before handling a new
request. Potentially dangerous.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24248&edit=1

Reply via email to